Skip to content
v2.273.0

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 ​

namestringnamestrnameStringNamestringName*stringrequired#
The name of the VPC link.
securityGroupIdsstring | ISecurityGroupRef[]security_group_idstyping.List[typing.Union[str, ISecurityGroupRef]]securityGroupIdsList<String>SecurityGroupIdsstring[]SecurityGroupIds*[]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.
tags{ [key: string]: string }tagstyping.Mapping[str, str]tagsMap<String, String>TagsIDictionary<string, string>Tags*map[string]*string#
The collection of tags.

Each tag element is associated with a given resource.

Used as props by ​