aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.PlacementTypeProperty

interface PlacementTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.PlacementTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EmrCreateCluster_PlacementTypeProperty
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.PlacementTypeProperty
Pythonaws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.PlacementTypeProperty
TypeScript (source)aws-cdk-lib » 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 { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const placementTypeProperty: stepfunctions_tasks.EmrCreateCluster.PlacementTypeProperty = {
  availabilityZone: 'availabilityZone',
  availabilityZones: ['availabilityZones'],
};

Properties

NameTypeDescription
availabilityZone?stringThe Amazon EC2 Availability Zone for the cluster.
availabilityZones?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.