interface CfnSecurityGroupVpcAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnSecurityGroupVpcAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSecurityGroupVpcAssociationProps |
Java | software.amazon.awscdk.services.ec2.CfnSecurityGroupVpcAssociationProps |
Python | aws_cdk.aws_ec2.CfnSecurityGroupVpcAssociationProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnSecurityGroupVpcAssociationProps |
Properties for defining a CfnSecurityGroupVpcAssociation.
Example
// 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
| Name | Type | Description |
|---|---|---|
| group | string | The association's security group ID. |
| vpc | string | The association's VPC ID. |
groupId
Type:
string
The association's security group ID.
vpcId
Type:
string
The association's VPC ID.

.NET
Go
Java
Python
TypeScript