@Stability(value=Stable) @Internal public static final class SubnetSelection.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SubnetSelection
SubnetSelection
software.amazon.jsii.JsiiObject.InitializationMode
SubnetSelection.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,
String subnetName,
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()
Select subnets only in the given AZs.
|
Boolean |
getOnePerAz()
If true, return at most one subnet per AZ.
|
List<SubnetFilter> |
getSubnetFilters()
List of provided subnet filters.
|
String |
getSubnetGroupName()
Select the subnet group with the given name.
|
String |
getSubnetName()
(deprecated) Alias for `subnetGroupName`.
|
List<ISubnet> |
getSubnets()
Explicitly select individual subnets.
|
SubnetType |
getSubnetType()
Select all subnets of the given type.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected 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, String subnetName, List<? extends ISubnet> subnets, SubnetType subnetType)
SubnetSelection.Builder
.public final List<String> getAvailabilityZones()
SubnetSelection
Default: no filtering on AZs is done
getAvailabilityZones
in interface SubnetSelection
public final Boolean getOnePerAz()
SubnetSelection
Default: false
getOnePerAz
in interface SubnetSelection
public final List<SubnetFilter> getSubnetFilters()
SubnetSelection
Default: - none
getSubnetFilters
in interface SubnetSelection
public 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 SubnetSelection
public final String getSubnetName()
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.
getSubnetName
in interface SubnetSelection
public final List<ISubnet> getSubnets()
SubnetSelection
Use 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 SubnetSelection
public 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.JsiiSerializable
Copyright © 2021. All rights reserved.