@Generated(value="jsii-pacmak/1.21.0 (build 4262b22)", date="2021-02-19T10:08:58.019Z") @Stability(value=Stable) public interface SubnetConfiguration extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
SubnetConfiguration.Builder
A builder for
SubnetConfiguration |
static class |
SubnetConfiguration.Jsii$Proxy
An implementation for
SubnetConfiguration |
Modifier and Type | Method and Description |
---|---|
static SubnetConfiguration.Builder |
builder() |
default Number |
getCidrMask()
The number of leading 1 bits in the routing mask.
|
String |
getName()
Logical name for the subnet group.
|
default Boolean |
getReserved()
Controls if subnet IP space needs to be reserved.
|
SubnetType |
getSubnetType()
The type of Subnet to configure.
|
@Stability(value=Stable) @NotNull String getName()
This name can be used when selecting VPC subnets to distinguish between different subnet groups of the same type.
@Stability(value=Stable) @NotNull SubnetType getSubnetType()
The Subnet type will control the ability to route and connect to the Internet.
@Stability(value=Stable) @Nullable default Number getCidrMask()
The number of available IP addresses in each subnet of this group
will be equal to 2^(32 - cidrMask) - 2
.
Valid values are 16--28
.
Default: - Available IP space is evenly divided across subnets.
@Stability(value=Stable) @Nullable default Boolean getReserved()
When true, the IP space for the subnet is reserved but no actual
resources are provisioned. This space is only dependent on the
number of availability zones and on cidrMask
- all other subnet
properties are ignored.
Default: false
@Stability(value=Stable) static SubnetConfiguration.Builder builder()
SubnetConfiguration.Builder
of SubnetConfiguration
Copyright © 2021. All rights reserved.