Interface EmrCreateCluster.PlacementTypeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EmrCreateCluster.PlacementTypeProperty.Jsii$Proxy
Enclosing class:
EmrCreateCluster

@Stability(Stable) public static interface EmrCreateCluster.PlacementTypeProperty extends software.amazon.jsii.JsiiSerializable
The Amazon EC2 Availability Zone configuration of the cluster (job flow).

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();
 

See Also:
  • Method Details

    • getAvailabilityZone

      @Stability(Stable) @Nullable default String getAvailabilityZone()
      The Amazon EC2 Availability Zone for the cluster.

      AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.

      Default: - EMR selected default

    • getAvailabilityZones

      @Stability(Stable) @Nullable default List<String> getAvailabilityZones()
      When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone.

      AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups.

      Default: - EMR selected default

    • builder

      @Stability(Stable) static EmrCreateCluster.PlacementTypeProperty.Builder builder()
      Returns:
      a EmrCreateCluster.PlacementTypeProperty.Builder of EmrCreateCluster.PlacementTypeProperty