Interface ConfigureNatOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.278Z") @Stability(Stable) public interface ConfigureNatOptions extends
Options passed by the VPC when NAT needs to be configured.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 PrivateSubnet privateSubnet;
 PublicSubnet publicSubnet;
 Vpc vpc;
 ConfigureNatOptions configureNatOptions = ConfigureNatOptions.builder()
  • Method Details

    • getNatSubnets

      @Stability(Stable) @NotNull List<PublicSubnet> getNatSubnets()
      The public subnets where the NAT providers need to be placed.
    • getPrivateSubnets

      @Stability(Stable) @NotNull List<PrivateSubnet> getPrivateSubnets()
      The private subnets that need to route through the NAT providers.

      There may be more private subnets than public subnets with NAT providers.

    • getVpc

      @Stability(Stable) @NotNull Vpc getVpc()
      The VPC we're configuring NAT for.
    • builder

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