Class EmrCreateCluster.PlacementTypeProperty
The Amazon EC2 Availability Zone configuration of the cluster (job flow).
Inheritance
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class PlacementTypeProperty : Object, EmrCreateCluster.IPlacementTypeProperty
Syntax (vb)
Public Class PlacementTypeProperty
Inherits Object
Implements EmrCreateCluster.IPlacementTypeProperty
Remarks
See: https://docs.aws.amazon.com/emr/latest/APIReference/API_PlacementType.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions.Tasks;
var placementTypeProperty = new PlacementTypeProperty {
AvailabilityZone = "availabilityZone",
AvailabilityZones = new [] { "availabilityZones" }
};
Synopsis
Constructors
PlacementTypeProperty() |
Properties
AvailabilityZone | The Amazon EC2 Availability Zone for the cluster. |
AvailabilityZones | When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. |
Constructors
PlacementTypeProperty()
public PlacementTypeProperty()
Properties
AvailabilityZone
The Amazon EC2 Availability Zone for the cluster.
public string AvailabilityZone { get; set; }
Property Value
System.String
Remarks
AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.
Default: - EMR selected default
AvailabilityZones
When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone.
public string[] AvailabilityZones { get; set; }
Property Value
System.String[]
Remarks
AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups.
Default: - EMR selected default