@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-09T19:16:31.233Z")
public interface VpcSubnet
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() |
java.lang.String |
getAvailabilityZone()
The code of the availability zone this subnet is in (for example, 'us-west-2a').
|
default java.lang.String |
getCidr()
CIDR range of the subnet.
|
java.lang.String |
getRouteTableId()
The identifier of the route table for this subnet.
|
java.lang.String |
getSubnetId()
The identifier of the subnet.
|
java.lang.String getAvailabilityZone()
java.lang.String getRouteTableId()
java.lang.String getSubnetId()
default java.lang.String getCidr()
Default: - CIDR information not available
static VpcSubnet.Builder builder()
VpcSubnet.Builder
of VpcSubnet