@Stability(value=Stable)
public static interface EmrCreateCluster.PlacementTypeProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getAvailabilityZone()
The Amazon EC2 Availability Zone for the cluster.
|
default List<String> |
getAvailabilityZones()
When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone.
|
@Stability(value=Stable) @Nullable default String getAvailabilityZone()
AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.
Default: - EMR selected default
@Stability(value=Stable) @Nullable default List<String> getAvailabilityZones()
AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups.
Default: - EMR selected default
@Stability(value=Stable) static EmrCreateCluster.PlacementTypeProperty.Builder builder()
Copyright © 2023. All rights reserved.