CfnVpcLinkProps Struct
Properties for defining a CfnVpcLink.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const cfnVpcLinkProps: apigatewayv2.CfnVpcLinkProps = {
name: 'name',
subnetIds: ['subnetIds'],
// the properties below are optional
securityGroupIds: ['securityGroupIds'],
tags: {
tagsKey: 'tags',
},
};
Properties
The name of the VPC link.
securityGroupIdsoptionalstring | ISecurityGroupRef[]security_group_idsoptionaltyping.List[typing.Union[str, ISecurityGroupRef]]securityGroupIdsoptionalList<String>SecurityGroupIdsoptionalstring[]SecurityGroupIdsoptional*[]interface{}#A list of security group IDs for the VPC link.
subnetIdsstring | ISubnetRef[]subnet_idstyping.List[typing.Union[str, ISubnetRef]]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]interface{}required#A list of subnet IDs to include in the VPC link.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string#The collection of tags.
Each tag element is associated with a given resource.