AWS::EC2::SecurityGroupVpcAssociationA security group association with a VPC.
import { CfnSecurityGroupVpcAssociation } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnSecurityGroupVpcAssociationConfiguration passed to the constructor as CfnSecurityGroupVpcAssociationProps.
groupIdRequiredstringThe association's security group ID.
vpcIdRequiredstringThe association's VPC ID.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::SecurityGroupVpcAssociation