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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.SubnetSelection
SubnetSelection.Builder, SubnetSelection.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(SubnetSelection.Builder builder) Constructor that initializes the object based on literal property values passed by theSubnetSelection.Builder.protectedJsii$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.JsonNodefinal booleanSelect subnets only in the given AZs.final BooleanIf true, return at most one subnet per AZ.final List<SubnetFilter> List of provided subnet filters.final StringSelect the subnet group with the given name.Explicitly select individual subnets.final SubnetTypeSelect all subnets of the given type.final inthashCode()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:SubnetSelectionSelect subnets only in the given AZs.Default: no filtering on AZs is done
- Specified by:
getAvailabilityZonesin interfaceSubnetSelection
-
getOnePerAz
Description copied from interface:SubnetSelectionIf true, return at most one subnet per AZ.Default: false
- Specified by:
getOnePerAzin interfaceSubnetSelection
-
getSubnetFilters
Description copied from interface:SubnetSelectionList of provided subnet filters.Default: - none
- Specified by:
getSubnetFiltersin interfaceSubnetSelection
-
getSubnetGroupName
Description copied from interface:SubnetSelectionSelect 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
subnetTypeandsubnetGroupNamecan be supplied.Default: - Selection by type instead of by name
- Specified by:
getSubnetGroupNamein interfaceSubnetSelection
-
getSubnets
Description copied from interface:SubnetSelectionExplicitly 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
subnetTypeorsubnetGroupName.Default: - Use all subnets in a selected group (all private subnets by default)
- Specified by:
getSubnetsin interfaceSubnetSelection
-
getSubnetType
Description copied from interface:SubnetSelectionSelect all subnets of the given type.At most one of
subnetTypeandsubnetGroupNamecan be supplied.Default: SubnetType.PRIVATE_WITH_EGRESS (or ISOLATED or PUBLIC if there are no PRIVATE_WITH_EGRESS subnets)
- Specified by:
getSubnetTypein interfaceSubnetSelection
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-