libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EMR.Types.PlacementGroupConfig

Description

 
Synopsis

Documentation

data PlacementGroupConfig Source #

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.

See: newPlacementGroupConfig smart constructor.

Constructors

PlacementGroupConfig' 

Fields

  • placementStrategy :: Maybe PlacementGroupStrategy

    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.

  • instanceRole :: InstanceRoleType

    Role of the instance in the cluster.

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

Instances

Instances details
Eq PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

Read PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

Show PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

Generic PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

Associated Types

type Rep PlacementGroupConfig :: Type -> Type #

NFData PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

Methods

rnf :: PlacementGroupConfig -> () #

Hashable PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

ToJSON PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

FromJSON PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

type Rep PlacementGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.PlacementGroupConfig

type Rep PlacementGroupConfig = D1 ('MetaData "PlacementGroupConfig" "Amazonka.EMR.Types.PlacementGroupConfig" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "PlacementGroupConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "placementStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlacementGroupStrategy)) :*: S1 ('MetaSel ('Just "instanceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InstanceRoleType)))

newPlacementGroupConfig Source #

Create a value of PlacementGroupConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:placementStrategy:PlacementGroupConfig', placementGroupConfig_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.

$sel:instanceRole:PlacementGroupConfig', placementGroupConfig_instanceRole - Role of the instance in the cluster.

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

placementGroupConfig_placementStrategy :: Lens' PlacementGroupConfig (Maybe PlacementGroupStrategy) Source #

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.

placementGroupConfig_instanceRole :: Lens' PlacementGroupConfig InstanceRoleType Source #

Role of the instance in the cluster.

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