public static interface EmrCreateCluster.PlacementTypeProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.stepfunctions.tasks.*; PlacementTypeProperty placementTypeProperty = PlacementTypeProperty.builder() .availabilityZone("availabilityZone") .availabilityZones(List.of("availabilityZones")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
EmrCreateCluster.PlacementTypeProperty.Builder
A builder for
EmrCreateCluster.PlacementTypeProperty |
static class |
EmrCreateCluster.PlacementTypeProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.PlacementTypeProperty |
Modifier and Type | Method and Description |
---|---|
static EmrCreateCluster.PlacementTypeProperty.Builder |
builder() |
default java.lang.String |
getAvailabilityZone()
The Amazon EC2 Availability Zone for the cluster.
|
default java.util.List<java.lang.String> |
getAvailabilityZones()
When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone.
|
default java.lang.String getAvailabilityZone()
AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.
Default: - EMR selected default
default java.util.List<java.lang.String> getAvailabilityZones()
AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups.
Default: - EMR selected default
static EmrCreateCluster.PlacementTypeProperty.Builder builder()