SecurityGroupVpcAssociationReference
- class aws_cdk.aws_ec2.SecurityGroupVpcAssociationReference(*, group_id, vpc_id)
Bases:
object
A reference to a SecurityGroupVpcAssociation resource.
- Parameters:
group_id (
str
) – The GroupId of the SecurityGroupVpcAssociation resource.vpc_id (
str
) – The VpcId of the SecurityGroupVpcAssociation resource.
- 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 security_group_vpc_association_reference = ec2.SecurityGroupVpcAssociationReference( group_id="groupId", vpc_id="vpcId" )
Attributes
- group_id
The GroupId of the SecurityGroupVpcAssociation resource.
- vpc_id
The VpcId of the SecurityGroupVpcAssociation resource.