Class: Aws::EMR::Types::PlacementGroupConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::PlacementGroupConfig
- Defined in:
- gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
Overview
When making an API call, you may pass PlacementGroupConfig data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
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
.
5293 5294 5295 5296 5297 5298 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5293 class PlacementGroupConfig < Struct.new( :instance_role, :placement_strategy) SENSITIVE = [] include Aws::Structure end |
#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.
5293 5294 5295 5296 5297 5298 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5293 class PlacementGroupConfig < Struct.new( :instance_role, :placement_strategy) SENSITIVE = [] include Aws::Structure end |