VpcLinkProps

class aws_cdk.aws_apigateway.VpcLinkProps(*, description=None, targets=None, vpc_link_name=None)

Bases: object

__init__(*, description=None, targets=None, vpc_link_name=None)

Properties for a VpcLink.

Parameters
  • description (Optional[str]) – The description of the VPC link. Default: no description

  • targets (Optional[List[INetworkLoadBalancer]]) – The network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner. Default: - no targets. Use addTargets to add targets

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

Attributes

description

The description of the VPC link.

default :default: no description

Return type

Optional[str]

targets

The network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.

default :default: - no targets. Use addTargets to add targets

Return type

Optional[List[INetworkLoadBalancer]]

The name used to label and identify the VPC link.

default :default: - automatically generated name

Return type

Optional[str]