@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:43.158Z")
public interface SubnetAttributes
// Supply all properties ISubnet subnet1 = Subnet.fromSubnetAttributes(this, "SubnetFromAttributes", SubnetAttributes.builder() .subnetId("s-1234") .availabilityZone("pub-az-4465") .routeTableId("rt-145") .build()); // Supply only subnet id ISubnet subnet2 = Subnet.fromSubnetId(this, "SubnetFromId", "s-1234");
Modifier and Type | Interface and Description |
---|---|
static class |
SubnetAttributes.Builder
A builder for
SubnetAttributes |
static class |
SubnetAttributes.Jsii$Proxy
An implementation for
SubnetAttributes |
Modifier and Type | Method and Description |
---|---|
static SubnetAttributes.Builder |
builder() |
default java.lang.String |
getAvailabilityZone()
The Availability Zone the subnet is located in.
|
default java.lang.String |
getIpv4CidrBlock()
The IPv4 CIDR block associated with the subnet.
|
default java.lang.String |
getRouteTableId()
The ID of the route table for this particular subnet.
|
java.lang.String |
getSubnetId()
The subnetId for this particular subnet.
|
java.lang.String getSubnetId()
default java.lang.String getAvailabilityZone()
Default: - No AZ information, cannot use AZ selection features
default java.lang.String getIpv4CidrBlock()
Default: - No CIDR information, cannot use CIDR filter features
default java.lang.String getRouteTableId()
Default: - No route table information, cannot create VPC endpoints
static SubnetAttributes.Builder builder()
SubnetAttributes.Builder
of SubnetAttributes