aws-cdk-lib.aws_apigatewayv2.CfnVpcLinkProps

interface CfnVpcLinkProps

LanguageType name
.NETAmazon.CDK.AWS.Apigatewayv2.CfnVpcLinkProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#CfnVpcLinkProps
Javasoftware.amazon.awscdk.services.apigatewayv2.CfnVpcLinkProps
Pythonaws_cdk.aws_apigatewayv2.CfnVpcLinkProps
TypeScript aws-cdk-lib » aws_apigatewayv2 » CfnVpcLinkProps

Properties for defining a CfnVpcLink.

Example

// 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

NameTypeDescription
namestringThe name of the VPC link.
subnetIdsstring[]A list of subnet IDs to include in the VPC link.
securityGroupIds?string[]A list of security group IDs for the VPC link.
tags?{ [string]: string }The collection of tags.

name

Type: string

The name of the VPC link.


subnetIds

Type: string[]

A list of subnet IDs to include in the VPC link.


securityGroupIds?

Type: string[] (optional)

A list of security group IDs for the VPC link.


tags?

Type: { [string]: string } (optional)

The collection of tags.

Each tag element is associated with a given resource.