Interface CfnVpcLinkProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnVpcLinkProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.923Z") @Stability(Stable) public interface CfnVpcLinkProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnVpcLink.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apigateway.*;
 CfnVpcLinkProps cfnVpcLinkProps = CfnVpcLinkProps.builder()
         .name("name")
         .targetArns(List.of("targetArns"))
         // the properties below are optional
         .description("description")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name used to label and identify the VPC link.
    • getTargetArns

      @Stability(Stable) @NotNull List<String> getTargetArns()
      The ARN of the network load balancer of the VPC targeted by the VPC link.

      The network load balancer must be owned by the same AWS account of the API owner.

    • getDescription

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

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of arbitrary tags (key-value pairs) to associate with the VPC link.
    • builder

      @Stability(Stable) static CfnVpcLinkProps.Builder builder()
      Returns:
      a CfnVpcLinkProps.Builder of CfnVpcLinkProps