@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.903Z") @Stability(value=Stable) public interface VpcSubnet 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.cxapi.*;
VpcSubnet vpcSubnet = VpcSubnet.builder()
.availabilityZone("availabilityZone")
.routeTableId("routeTableId")
.subnetId("subnetId")
// the properties below are optional
.cidr("cidr")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
VpcSubnet.Builder
A builder for
VpcSubnet |
static class |
VpcSubnet.Jsii$Proxy
An implementation for
VpcSubnet |
| Modifier and Type | Method and Description |
|---|---|
static VpcSubnet.Builder |
builder() |
String |
getAvailabilityZone()
The code of the availability zone this subnet is in (for example, 'us-west-2a').
|
default String |
getCidr()
CIDR range of the subnet.
|
String |
getRouteTableId()
The identifier of the route table for this subnet.
|
String |
getSubnetId()
The identifier of the subnet.
|
@Stability(value=Stable) @NotNull String getAvailabilityZone()
@Stability(value=Stable) @NotNull String getRouteTableId()
@Stability(value=Stable) @NotNull String getSubnetId()
@Stability(value=Stable) @Nullable default String getCidr()
Default: - CIDR information not available
@Stability(value=Stable) static VpcSubnet.Builder builder()
VpcSubnet.Builder of VpcSubnetCopyright © 2022. All rights reserved.