You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EMR::Types::PlacementGroupConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::PlacementGroupConfig
- Defined in:
- (unknown)
Overview
When passing PlacementGroupConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
placement_strategy: "SPREAD", # accepts SPREAD, PARTITION, CLUSTER, NONE
}
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.
Instance Attribute Summary collapse
-
#instance_role ⇒ String
Role of the instance in the cluster.
-
#placement_strategy ⇒ String
EC2 Placement Group strategy associated with instance role.
Instance Attribute Details
#instance_role ⇒ String
Role of the instance in the cluster.
Starting with Amazon EMR version 5.23.0, the only supported instance
role is MASTER
.
Possible values:
- MASTER
- CORE
- TASK
#placement_strategy ⇒ String
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.
Possible values:
- SPREAD
- PARTITION
- CLUSTER
- NONE