@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:58.357Z") @Stability(value=Experimental) 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()
(experimental) The code of the availability zone this subnet is in (for example, 'us-west-2a').
|
default String |
getCidr()
(experimental) CIDR range of the subnet.
|
String |
getRouteTableId()
(experimental) The identifier of the route table for this subnet.
|
String |
getSubnetId()
(experimental) The identifier of the subnet.
|
@Stability(value=Experimental) @NotNull String getAvailabilityZone()
@Stability(value=Experimental) @NotNull String getRouteTableId()
@Stability(value=Experimental) @NotNull String getSubnetId()
@Stability(value=Experimental) @Nullable default String getCidr()
Default: - CIDR information not available
@Stability(value=Experimental) static VpcSubnet.Builder builder()
VpcSubnet.Builder of VpcSubnetCopyright © 2022. All rights reserved.