Interface VpcLinkProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.318Z") @Stability(Experimental) public interface VpcLinkProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a VpcLink.

Example:

 import software.amazon.awscdk.services.ec2.*;
 Vpc vpc = new Vpc(this, "VPC");
 VpcLink vpcLink = VpcLink.Builder.create(this, "VpcLink").vpc(vpc).build();
 
  • Method Details

    • getVpc

      @Stability(Experimental) @NotNull IVpc getVpc()
      (experimental) The VPC in which the private resources reside.
    • getSecurityGroups

      @Stability(Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
      (experimental) A list of security groups for the VPC link.

      Default: - no security groups. Use `addSecurityGroups` to add security groups

    • getSubnets

      @Stability(Experimental) @Nullable default SubnetSelection getSubnets()
      (experimental) A list of subnets for the VPC link.

      Default: - private subnets of the provided VPC. Use `addSubnets` to add more subnets

    • getVpcLinkName

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

      Default: - automatically generated name

    • builder

      @Stability(Experimental) static VpcLinkProps.Builder builder()
      Returns:
      a VpcLinkProps.Builder of VpcLinkProps