Class SubnetSelection.Jsii$Proxy
- All Implemented Interfaces:
SubnetSelection
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
SubnetSelection
SubnetSelection
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.SubnetSelection
SubnetSelection.Builder, SubnetSelection.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(SubnetSelection.Builder builder) Constructor that initializes the object based on literal property values passed by theSubnetSelection.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
Select subnets only in the given AZs.final Boolean
If true, return at most one subnet per AZ.final List<SubnetFilter>
List of provided subnet filters.final String
Select the subnet group with the given name.Explicitly select individual subnets.final SubnetType
Select all subnets of the given type.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theSubnetSelection.Builder
.
-
-
Method Details
-
getAvailabilityZones
Description copied from interface:SubnetSelection
Select subnets only in the given AZs.Default: no filtering on AZs is done
- Specified by:
getAvailabilityZones
in interfaceSubnetSelection
-
getOnePerAz
Description copied from interface:SubnetSelection
If true, return at most one subnet per AZ.Default: false
- Specified by:
getOnePerAz
in interfaceSubnetSelection
-
getSubnetFilters
Description copied from interface:SubnetSelection
List of provided subnet filters.Default: - none
- Specified by:
getSubnetFilters
in interfaceSubnetSelection
-
getSubnetGroupName
Description copied from interface:SubnetSelection
Select the subnet group with the given name.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
andsubnetGroupName
can be supplied.Default: - Selection by type instead of by name
- Specified by:
getSubnetGroupName
in interfaceSubnetSelection
-
getSubnets
Description copied from interface:SubnetSelection
Explicitly select individual subnets.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
orsubnetGroupName
.Default: - Use all subnets in a selected group (all private subnets by default)
- Specified by:
getSubnets
in interfaceSubnetSelection
-
getSubnetType
Description copied from interface:SubnetSelection
Select all subnets of the given type.At most one of
subnetType
andsubnetGroupName
can be supplied.Default: SubnetType.PRIVATE_WITH_EGRESS (or ISOLATED or PUBLIC if there are no PRIVATE_WITH_EGRESS subnets)
- Specified by:
getSubnetType
in interfaceSubnetSelection
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-