@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.408Z") @Stability(value=Stable) public interface ConfigureNatOptions extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ConfigureNatOptions.Builder
A builder for
ConfigureNatOptions |
static class |
ConfigureNatOptions.Jsii$Proxy
An implementation for
ConfigureNatOptions |
| Modifier and Type | Method and Description |
|---|---|
static ConfigureNatOptions.Builder |
builder() |
List<PublicSubnet> |
getNatSubnets()
The public subnets where the NAT providers need to be placed.
|
List<PrivateSubnet> |
getPrivateSubnets()
The private subnets that need to route through the NAT providers.
|
Vpc |
getVpc()
The VPC we're configuring NAT for.
|
@Stability(value=Stable) @NotNull List<PublicSubnet> getNatSubnets()
@Stability(value=Stable) @NotNull List<PrivateSubnet> getPrivateSubnets()
There may be more private subnets than public subnets with NAT providers.
@Stability(value=Stable) @NotNull Vpc getVpc()
@Stability(value=Stable) static ConfigureNatOptions.Builder builder()
ConfigureNatOptions.Builder of ConfigureNatOptionsCopyright © 2022. All rights reserved.