VpcLinkAttributes

class aws_cdk.aws_apigatewayv2.VpcLinkAttributes(*, vpc, vpc_link_id)

Bases: object

(experimental) Attributes when importing a new VpcLink.

Parameters:
  • vpc (IVpc) – (experimental) The VPC to which this VPC link is associated with.

  • vpc_link_id (str) – (experimental) The VPC Link id.

Stability:

experimental

ExampleMetadata:

infused

Example:

import aws_cdk.aws_ec2 as ec2

# vpc: ec2.Vpc

awesome_link = apigwv2.VpcLink.from_vpc_link_attributes(self, "awesome-vpc-link",
    vpc_link_id="us-east-1_oiuR12Abd",
    vpc=vpc
)

Attributes

vpc

(experimental) The VPC to which this VPC link is associated with.

Stability:

experimental

(experimental) The VPC Link id.

Stability:

experimental