Class: Aws::EMR::Types::PlacementGroupConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-emr/types.rb

Overview

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 Amazon EMR role.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_roleString

Role of the instance in the cluster.

Starting with Amazon EMR release 5.23.0, the only supported instance role is ‘MASTER`.

Returns:

  • (String)


5035
5036
5037
5038
5039
5040
# File 'lib/aws-sdk-emr/types.rb', line 5035

class PlacementGroupConfig < Struct.new(
  :instance_role,
  :placement_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#placement_strategyString

Amazon EC2 Placement Group strategy associated with instance role.

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

Returns:

  • (String)


5035
5036
5037
5038
5039
5040
# File 'lib/aws-sdk-emr/types.rb', line 5035

class PlacementGroupConfig < Struct.new(
  :instance_role,
  :placement_strategy)
  SENSITIVE = []
  include Aws::Structure
end