interface VpcLinkAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGatewayv2.VpcLinkAttributes |
Java | software.amazon.awscdk.services.apigatewayv2.VpcLinkAttributes |
Python | aws_cdk.aws_apigatewayv2.VpcLinkAttributes |
TypeScript (source) | @aws-cdk/aws-apigatewayv2 禄 VpcLinkAttributes |
Attributes when importing a new VpcLink.
Example
import * as ec2 from '@aws-cdk/aws-ec2';
declare const vpc: ec2.Vpc;
const awesomeLink = apigwv2.VpcLink.fromVpcLinkAttributes(this, 'awesome-vpc-link', {
vpcLinkId: 'us-east-1_oiuR12Abd',
vpc,
});
Properties
Name | Type | Description |
---|---|---|
vpc | IVpc | The VPC to which this VPC link is associated with. |
vpc | string | The VPC Link id. |
vpc
Type:
IVpc
The VPC to which this VPC link is associated with.
vpcLinkId
Type:
string
The VPC Link id.