Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
PlacementGroupConfig' | |
|
Instances
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
.