PlacementGroupConfig - Amazon EMR
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

PlacementGroupConfig

Placement group configuration for an Amazon EMR cluster. The configuration specifies the placement strategy that can be applied to instance roles during cluster creation.

To use this configuration, consider attaching managed policy AmazonElasticMapReducePlacementGroupPolicy to the EMR role.

Contents

InstanceRole

Role of the instance in the cluster.

Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.

Type: String

Valid Values: MASTER | CORE | TASK

Required: Yes

PlacementStrategy

EC2 Placement Group strategy associated with instance role.

Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

Type: String

Valid Values: SPREAD | PARTITION | CLUSTER | NONE

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: