@aws-cdk_aws-apigatewayv2-alpha.VpcLinkProps

interface VpcLinkProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Apigatewayv2.Alpha.VpcLinkProps
Gogithub.com/aws/aws-cdk-go/awscdkapigatewayv2alpha/v2#VpcLinkProps
Javasoftware.amazon.awscdk.services.apigatewayv2.alpha.VpcLinkProps
Pythonaws_cdk.aws_apigatewayv2_alpha.VpcLinkProps
TypeScript (source)@aws-cdk/aws-apigatewayv2-alpha ยป VpcLinkProps

Properties for a VpcLink.

Example

import * as ec2 from 'aws-cdk-lib/aws-ec2';

const vpc = new ec2.Vpc(this, 'VPC');
const vpcLink = new apigwv2.VpcLink(this, 'VpcLink', { vpc });

Properties

NameTypeDescription
vpc๐Ÿ”นIVpcThe VPC in which the private resources reside.
securityGroups?๐Ÿ”นISecurityGroup[]A list of security groups for the VPC link.
subnets?๐Ÿ”นSubnetSelectionA list of subnets for the VPC link.
vpcLinkName?๐Ÿ”นstringThe name used to label and identify the VPC link.

vpc๐Ÿ”น

Type: IVpc

The VPC in which the private resources reside.


securityGroups?๐Ÿ”น

Type: ISecurityGroup[] (optional, default: no security groups. Use addSecurityGroups to add security groups)

A list of security groups for the VPC link.


subnets?๐Ÿ”น

Type: SubnetSelection (optional, default: private subnets of the provided VPC. Use addSubnets to add more subnets)

A list of subnets for the VPC link.


vpcLinkName?๐Ÿ”น

Type: string (optional, default: automatically generated name)

The name used to label and identify the VPC link.