CfnSecurityGroupVpcAssociationProps

class aws_cdk.aws_ec2.CfnSecurityGroupVpcAssociationProps(*, group_id, vpc_id)

Bases: object

Properties for defining a CfnSecurityGroupVpcAssociation.

Parameters:
  • group_id (str) – The association’s security group ID.

  • vpc_id (str) – The association’s VPC ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_security_group_vpc_association_props = ec2.CfnSecurityGroupVpcAssociationProps(
    group_id="groupId",
    vpc_id="vpcId"
)

Attributes

group_id

The association’s security group ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html#cfn-ec2-securitygroupvpcassociation-groupid

vpc_id

The association’s VPC ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html#cfn-ec2-securitygroupvpcassociation-vpcid