@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.497Z") @Stability(value=Stable) public interface SelectedSubnets extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
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_EGRESS)
.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() |
List<String> |
getAvailabilityZones()
The respective AZs of each subnet.
|
Boolean |
getHasPublic()
Whether any of the given subnets are from the VPC's public subnets.
|
software.constructs.IDependable |
getInternetConnectivityEstablished()
Dependency representing internet connectivity for these subnets.
|
default Boolean |
getIsPendingLookup()
The subnet selection is not actually real yet.
|
List<String> |
getSubnetIds()
The subnet IDs.
|
List<ISubnet> |
getSubnets()
Selected subnet objects.
|
@Stability(value=Stable) @NotNull List<String> getAvailabilityZones()
@Stability(value=Stable) @NotNull Boolean getHasPublic()
@Stability(value=Stable) @NotNull software.constructs.IDependable getInternetConnectivityEstablished()
@Stability(value=Stable) @Nullable default 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
@Stability(value=Stable) static SelectedSubnets.Builder builder()
SelectedSubnets.Builder of SelectedSubnetsCopyright © 2022. All rights reserved.