VpcLinkProps

class aws_cdk.aws_apigatewayv2.VpcLinkProps(*, vpc, security_groups=None, subnets=None, vpc_link_name=None)

Bases: object

(experimental) Properties for a VpcLink.

Parameters
  • vpc (IVpc) – (experimental) The VPC in which the private resources reside.

  • security_groups (Optional[Sequence[ISecurityGroup]]) – (experimental) A list of security groups for the VPC link. Default: - no security groups. Use addSecurityGroups to add security groups

  • subnets (Optional[SubnetSelection]) – (experimental) A list of subnets for the VPC link. Default: - private subnets of the provided VPC. Use addSubnets to add more subnets

  • vpc_link_name (Optional[str]) – (experimental) The name used to label and identify the VPC link. Default: - automatically generated name

Stability

experimental

Attributes

security_groups

(experimental) A list of security groups for the VPC link.

Default
  • no security groups. Use addSecurityGroups to add security groups

Stability

experimental

Return type

Optional[List[ISecurityGroup]]

subnets

(experimental) A list of subnets for the VPC link.

Default
  • private subnets of the provided VPC. Use addSubnets to add more subnets

Stability

experimental

Return type

Optional[SubnetSelection]

vpc

(experimental) The VPC in which the private resources reside.

Stability

experimental

Return type

IVpc

(experimental) The name used to label and identify the VPC link.

Default
  • automatically generated name

Stability

experimental

Return type

Optional[str]