Interface ConfigureNatOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ConfigureNatOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.278Z")
@Stability(Stable)
public interface ConfigureNatOptions
extends software.amazon.jsii.JsiiSerializable
Options passed by the VPC when NAT needs to be configured.
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.ec2.*; PrivateSubnet privateSubnet; PublicSubnet publicSubnet; Vpc vpc; ConfigureNatOptions configureNatOptions = ConfigureNatOptions.builder() .natSubnets(List.of(publicSubnet)) .privateSubnets(List.of(privateSubnet)) .vpc(vpc) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forConfigureNatOptions
static final class
An implementation forConfigureNatOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigureNatOptions.Builder
builder()
The public subnets where the NAT providers need to be placed.The private subnets that need to route through the NAT providers.getVpc()
The VPC we're configuring NAT for.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNatSubnets
The public subnets where the NAT providers need to be placed. -
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
The VPC we're configuring NAT for. -
builder
- Returns:
- a
ConfigureNatOptions.Builder
ofConfigureNatOptions
-