1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. SecurityGroupVpcAssociation

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.SecurityGroupVpcAssociation

Explore with Pulumi AI

aws-native logo

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

    Create SecurityGroupVpcAssociation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SecurityGroupVpcAssociation(name: string, args: SecurityGroupVpcAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityGroupVpcAssociation(resource_name: str,
                                    args: SecurityGroupVpcAssociationArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityGroupVpcAssociation(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    group_id: Optional[str] = None,
                                    vpc_id: Optional[str] = None)
    func NewSecurityGroupVpcAssociation(ctx *Context, name string, args SecurityGroupVpcAssociationArgs, opts ...ResourceOption) (*SecurityGroupVpcAssociation, error)
    public SecurityGroupVpcAssociation(string name, SecurityGroupVpcAssociationArgs args, CustomResourceOptions? opts = null)
    public SecurityGroupVpcAssociation(String name, SecurityGroupVpcAssociationArgs args)
    public SecurityGroupVpcAssociation(String name, SecurityGroupVpcAssociationArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:SecurityGroupVpcAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SecurityGroupVpcAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecurityGroupVpcAssociationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecurityGroupVpcAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityGroupVpcAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityGroupVpcAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SecurityGroupVpcAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SecurityGroupVpcAssociation resource accepts the following input properties:

    GroupId string
    The group ID of the specified security group.
    VpcId string
    The ID of the VPC in the security group vpc association.
    GroupId string
    The group ID of the specified security group.
    VpcId string
    The ID of the VPC in the security group vpc association.
    groupId String
    The group ID of the specified security group.
    vpcId String
    The ID of the VPC in the security group vpc association.
    groupId string
    The group ID of the specified security group.
    vpcId string
    The ID of the VPC in the security group vpc association.
    group_id str
    The group ID of the specified security group.
    vpc_id str
    The ID of the VPC in the security group vpc association.
    groupId String
    The group ID of the specified security group.
    vpcId String
    The ID of the VPC in the security group vpc association.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecurityGroupVpcAssociation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State Pulumi.AwsNative.Ec2.SecurityGroupVpcAssociationState
    The state of the security group vpc association.
    StateReason string
    The reason for the state of the security group vpc association.
    VpcOwnerId string
    The owner of the VPC in the security group vpc association.
    Id string
    The provider-assigned unique ID for this managed resource.
    State SecurityGroupVpcAssociationStateEnum
    The state of the security group vpc association.
    StateReason string
    The reason for the state of the security group vpc association.
    VpcOwnerId string
    The owner of the VPC in the security group vpc association.
    id String
    The provider-assigned unique ID for this managed resource.
    state SecurityGroupVpcAssociationState
    The state of the security group vpc association.
    stateReason String
    The reason for the state of the security group vpc association.
    vpcOwnerId String
    The owner of the VPC in the security group vpc association.
    id string
    The provider-assigned unique ID for this managed resource.
    state SecurityGroupVpcAssociationState
    The state of the security group vpc association.
    stateReason string
    The reason for the state of the security group vpc association.
    vpcOwnerId string
    The owner of the VPC in the security group vpc association.
    id str
    The provider-assigned unique ID for this managed resource.
    state SecurityGroupVpcAssociationState
    The state of the security group vpc association.
    state_reason str
    The reason for the state of the security group vpc association.
    vpc_owner_id str
    The owner of the VPC in the security group vpc association.
    id String
    The provider-assigned unique ID for this managed resource.
    state "associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed"
    The state of the security group vpc association.
    stateReason String
    The reason for the state of the security group vpc association.
    vpcOwnerId String
    The owner of the VPC in the security group vpc association.

    Supporting Types

    SecurityGroupVpcAssociationState, SecurityGroupVpcAssociationStateArgs

    Associating
    associating
    Associated
    associated
    AssociationFailed
    association-failed
    Disassociating
    disassociating
    Disassociated
    disassociated
    DisassociationFailed
    disassociation-failed
    SecurityGroupVpcAssociationStateAssociating
    associating
    SecurityGroupVpcAssociationStateAssociated
    associated
    SecurityGroupVpcAssociationStateAssociationFailed
    association-failed
    SecurityGroupVpcAssociationStateDisassociating
    disassociating
    SecurityGroupVpcAssociationStateDisassociated
    disassociated
    SecurityGroupVpcAssociationStateDisassociationFailed
    disassociation-failed
    Associating
    associating
    Associated
    associated
    AssociationFailed
    association-failed
    Disassociating
    disassociating
    Disassociated
    disassociated
    DisassociationFailed
    disassociation-failed
    Associating
    associating
    Associated
    associated
    AssociationFailed
    association-failed
    Disassociating
    disassociating
    Disassociated
    disassociated
    DisassociationFailed
    disassociation-failed
    ASSOCIATING
    associating
    ASSOCIATED
    associated
    ASSOCIATION_FAILED
    association-failed
    DISASSOCIATING
    disassociating
    DISASSOCIATED
    disassociated
    DISASSOCIATION_FAILED
    disassociation-failed
    "associating"
    associating
    "associated"
    associated
    "association-failed"
    association-failed
    "disassociating"
    disassociating
    "disassociated"
    disassociated
    "disassociation-failed"
    disassociation-failed

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    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