@Stability(value=Experimental) @Internal public static final class SubnetSelection.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SubnetSelection
SubnetSelectionsoftware.amazon.jsii.JsiiObject.InitializationModeSubnetSelection.Builder, SubnetSelection.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(List<String> availabilityZones,
Boolean onePerAz,
List<? extends SubnetFilter> subnetFilters,
String subnetGroupName,
List<? extends ISubnet> subnets,
SubnetType subnetType)
Constructor that initializes the object based on literal property values passed by the
SubnetSelection.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getAvailabilityZones()
(experimental) Select subnets only in the given AZs.
|
Boolean |
getOnePerAz()
(experimental) If true, return at most one subnet per AZ.
|
List<SubnetFilter> |
getSubnetFilters()
(experimental) List of provided subnet filters.
|
String |
getSubnetGroupName()
(experimental) Select the subnet group with the given name.
|
List<ISubnet> |
getSubnets()
(experimental) Explicitly select individual subnets.
|
SubnetType |
getSubnetType()
(experimental) Select all subnets of the given type.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(List<String> availabilityZones, Boolean onePerAz, List<? extends SubnetFilter> subnetFilters, String subnetGroupName, List<? extends ISubnet> subnets, SubnetType subnetType)
SubnetSelection.Builder.public final List<String> getAvailabilityZones()
SubnetSelectionDefault: no filtering on AZs is done
getAvailabilityZones in interface SubnetSelectionpublic final Boolean getOnePerAz()
SubnetSelectionDefault: false
getOnePerAz in interface SubnetSelectionpublic final List<SubnetFilter> getSubnetFilters()
SubnetSelectionDefault: - none
getSubnetFilters in interface SubnetSelectionpublic final String getSubnetGroupName()
SubnetSelection
Select the subnet group with the given name. This only needs
to be used if you have multiple subnet groups of the same type
and you need to distinguish between them. Otherwise, prefer
subnetType.
This field does not select individual subnets, it selects all subnets that
share the given subnet group name. This is the name supplied in
subnetConfiguration.
At most one of subnetType and subnetGroupName can be supplied.
Default: - Selection by type instead of by name
getSubnetGroupName in interface SubnetSelectionpublic final List<ISubnet> getSubnets()
SubnetSelectionUse this if you don't want to automatically use all subnets in a group, but have a need to control selection down to individual subnets.
Cannot be specified together with subnetType or subnetGroupName.
Default: - Use all subnets in a selected group (all private subnets by default)
getSubnets in interface SubnetSelectionpublic final SubnetType getSubnetType()
SubnetSelection
At most one of subnetType and subnetGroupName can be supplied.
Default: SubnetType.PRIVATE (or ISOLATED or PUBLIC if there are no PRIVATE subnets)
getSubnetType in interface SubnetSelection@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.