@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:19:59.570Z")
public interface SelectedSubnets
Example:
Vpc vpc = Vpc.Builder.create(this, "TheVPC") .cidr("10.0.0.0/16") .build(); // Iterate the private subnets SelectedSubnets selection = vpc.selectSubnets(SubnetSelection.builder() .subnetType(SubnetType.PRIVATE_WITH_NAT) .build()); for (Object subnet : selection.getSubnets()) { }
Modifier and Type | Interface and Description |
---|---|
static class |
SelectedSubnets.Builder
A builder for
SelectedSubnets |
static class |
SelectedSubnets.Jsii$Proxy
An implementation for
SelectedSubnets |
Modifier and Type | Method and Description |
---|---|
static SelectedSubnets.Builder |
builder() |
java.util.List<java.lang.String> |
getAvailabilityZones()
The respective AZs of each subnet.
|
java.lang.Boolean |
getHasPublic()
Whether any of the given subnets are from the VPC's public subnets.
|
IDependable |
getInternetConnectivityEstablished()
Dependency representing internet connectivity for these subnets.
|
default java.lang.Boolean |
getIsPendingLookup()
The subnet selection is not actually real yet.
|
java.util.List<java.lang.String> |
getSubnetIds()
The subnet IDs.
|
java.util.List<ISubnet> |
getSubnets()
Selected subnet objects.
|
java.util.List<java.lang.String> getAvailabilityZones()
java.lang.Boolean getHasPublic()
IDependable getInternetConnectivityEstablished()
java.util.List<java.lang.String> getSubnetIds()
java.util.List<ISubnet> getSubnets()
default java.lang.Boolean getIsPendingLookup()
If this value is true, don't validate anything about the subnets. The count or identities are not known yet, and the validation will most likely fail which will prevent a successful lookup.
Default: false
static SelectedSubnets.Builder builder()
SelectedSubnets.Builder
of SelectedSubnets