Interface VpcLinkProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:13.808Z") @Stability(Stable) public interface VpcLinkProps extends
Properties for a VpcLink.


 Vpc vpc = new Vpc(this, "VPC");
 NetworkLoadBalancer nlb = NetworkLoadBalancer.Builder.create(this, "NLB")
 VpcLink link = VpcLink.Builder.create(this, "link")
 Integration integration = Integration.Builder.create()
  • Method Details

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the VPC link.

      Default: no description

    • getTargets

      @Stability(Stable) @Nullable default List<INetworkLoadBalancer> getTargets()
      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

    • getVpcLinkName

      @Stability(Stable) @Nullable default String getVpcLinkName()
      The name used to label and identify the VPC link.

      Default: - automatically generated name

    • builder

      @Stability(Stable) static VpcLinkProps.Builder builder()
      a VpcLinkProps.Builder of VpcLinkProps