interface PlacementTypeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.PlacementTypeProperty |
Java | software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.PlacementTypeProperty |
Python | aws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.PlacementTypeProperty |
TypeScript (source) | @aws-cdk/aws-stepfunctions-tasks » EmrCreateCluster » PlacementTypeProperty |
The Amazon EC2 Availability Zone configuration of the cluster (job flow).
See also: https://docs.aws.amazon.com/emr/latest/APIReference/API_PlacementType.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
const placementTypeProperty: stepfunctions_tasks.EmrCreateCluster.PlacementTypeProperty = {
availabilityZone: 'availabilityZone',
availabilityZones: ['availabilityZones'],
};
Properties
Name | Type | Description |
---|---|---|
availability | string | The Amazon EC2 Availability Zone for the cluster. |
availability | string[] | When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. |
availabilityZone?
Type:
string
(optional, default: EMR selected default)
The Amazon EC2 Availability Zone for the cluster.
AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.
availabilityZones?
Type:
string[]
(optional, default: EMR selected default)
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.