We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.ec2.getSecurityGroupVpcAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
Resource type definition for the AWS::EC2::SecurityGroupVpcAssociation resource
Using getSecurityGroupVpcAssociation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSecurityGroupVpcAssociation(args: GetSecurityGroupVpcAssociationArgs, opts?: InvokeOptions): Promise<GetSecurityGroupVpcAssociationResult>
function getSecurityGroupVpcAssociationOutput(args: GetSecurityGroupVpcAssociationOutputArgs, opts?: InvokeOptions): Output<GetSecurityGroupVpcAssociationResult>
def get_security_group_vpc_association(group_id: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityGroupVpcAssociationResult
def get_security_group_vpc_association_output(group_id: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityGroupVpcAssociationResult]
func LookupSecurityGroupVpcAssociation(ctx *Context, args *LookupSecurityGroupVpcAssociationArgs, opts ...InvokeOption) (*LookupSecurityGroupVpcAssociationResult, error)
func LookupSecurityGroupVpcAssociationOutput(ctx *Context, args *LookupSecurityGroupVpcAssociationOutputArgs, opts ...InvokeOption) LookupSecurityGroupVpcAssociationResultOutput
> Note: This function is named LookupSecurityGroupVpcAssociation
in the Go SDK.
public static class GetSecurityGroupVpcAssociation
{
public static Task<GetSecurityGroupVpcAssociationResult> InvokeAsync(GetSecurityGroupVpcAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityGroupVpcAssociationResult> Invoke(GetSecurityGroupVpcAssociationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecurityGroupVpcAssociationResult> getSecurityGroupVpcAssociation(GetSecurityGroupVpcAssociationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getSecurityGroupVpcAssociation
arguments:
# arguments dictionary
The following arguments are supported:
getSecurityGroupVpcAssociation Result
The following output properties are available:
- State
Pulumi.
Aws Native. Ec2. Security Group Vpc Association State - The state of the security group vpc association.
- State
Reason string - The reason for the state of the security group vpc association.
- Vpc
Owner stringId - The owner of the VPC in the security group vpc association.
- State
Security
Group Vpc Association State Enum - The state of the security group vpc association.
- State
Reason string - The reason for the state of the security group vpc association.
- Vpc
Owner stringId - The owner of the VPC in the security group vpc association.
- state
Security
Group Vpc Association State - The state of the security group vpc association.
- state
Reason String - The reason for the state of the security group vpc association.
- vpc
Owner StringId - The owner of the VPC in the security group vpc association.
- state
Security
Group Vpc Association State - The state of the security group vpc association.
- state
Reason string - The reason for the state of the security group vpc association.
- vpc
Owner stringId - The owner of the VPC in the security group vpc association.
- state
Security
Group Vpc Association State - The state of the security group vpc association.
- state_
reason str - The reason for the state of the security group vpc association.
- vpc_
owner_ strid - The owner of the VPC in the security group vpc association.
- state "associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed"
- The state of the security group vpc association.
- state
Reason String - The reason for the state of the security group vpc association.
- vpc
Owner StringId - The owner of the VPC in the security group vpc association.
Supporting Types
SecurityGroupVpcAssociationState
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi