Skip to content
v2.274.0

CfnSecurityGroupVpcAssociationProps Struct ​

Properties for defining a CfnSecurityGroupVpcAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnSecurityGroupVpcAssociationProps: ec2.CfnSecurityGroupVpcAssociationProps = {
  groupId: 'groupId',
  vpcId: 'vpcId',
};

Properties ​

groupIdstringgroup_idstrgroupIdStringGroupIdstringGroupId*stringrequired#
The association's security group ID.
vpcIdstringvpc_idstrvpcIdStringVpcIdstringVpcId*stringrequired#
The association's VPC ID.