interface VpcLinkProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGatewayv2.VpcLinkProps |
Java | software.amazon.awscdk.services.apigatewayv2.VpcLinkProps |
Python | aws_cdk.aws_apigatewayv2.VpcLinkProps |
TypeScript (source) | @aws-cdk/aws-apigatewayv2 » VpcLinkProps |
Properties for a VpcLink.
Example
import * as ec2 from '@aws-cdk/aws-ec2';
const vpc = new ec2.Vpc(this, 'VPC');
const vpcLink = new apigwv2.VpcLink(this, 'VpcLink', { vpc });
Properties
Name | Type | Description |
---|---|---|
vpc | IVpc | The VPC in which the private resources reside. |
security | ISecurity [] | A list of security groups for the VPC link. |
subnets? | Subnet | A list of subnets for the VPC link. |
vpc | string | The name used to label and identify the VPC link. |
vpc
Type:
IVpc
The VPC in which the private resources reside.
securityGroups?
Type:
ISecurity
[]
(optional, default: no security groups. Use addSecurityGroups
to add security groups)
A list of security groups for the VPC link.
subnets?
Type:
Subnet
(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.