| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.PlacementGroup
Description
Synopsis
- data PlacementGroup = PlacementGroup' {}
- newPlacementGroup :: PlacementGroup
- placementGroup_groupArn :: Lens' PlacementGroup (Maybe Text)
- placementGroup_groupId :: Lens' PlacementGroup (Maybe Text)
- placementGroup_groupName :: Lens' PlacementGroup (Maybe Text)
- placementGroup_partitionCount :: Lens' PlacementGroup (Maybe Int)
- placementGroup_spreadLevel :: Lens' PlacementGroup (Maybe SpreadLevel)
- placementGroup_state :: Lens' PlacementGroup (Maybe PlacementGroupState)
- placementGroup_strategy :: Lens' PlacementGroup (Maybe PlacementStrategy)
- placementGroup_tags :: Lens' PlacementGroup (Maybe [Tag])
Documentation
data PlacementGroup Source #
Describes a placement group.
See: newPlacementGroup smart constructor.
Constructors
| PlacementGroup' | |
Fields
| |
Instances
newPlacementGroup :: PlacementGroup Source #
Create a value of PlacementGroup 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:groupArn:PlacementGroup', placementGroup_groupArn - The Amazon Resource Name (ARN) of the placement group.
$sel:groupId:PlacementGroup', placementGroup_groupId - The ID of the placement group.
$sel:groupName:PlacementGroup', placementGroup_groupName - The name of the placement group.
$sel:partitionCount:PlacementGroup', placementGroup_partitionCount - The number of partitions. Valid only if strategy is set to
partition.
$sel:spreadLevel:PlacementGroup', placementGroup_spreadLevel - The spread level for the placement group. Only Outpost placement
groups can be spread across hosts.
$sel:state:PlacementGroup', placementGroup_state - The state of the placement group.
$sel:strategy:PlacementGroup', placementGroup_strategy - The placement strategy.
$sel:tags:PlacementGroup', placementGroup_tags - Any tags applied to the placement group.
placementGroup_groupArn :: Lens' PlacementGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the placement group.
placementGroup_groupId :: Lens' PlacementGroup (Maybe Text) Source #
The ID of the placement group.
placementGroup_groupName :: Lens' PlacementGroup (Maybe Text) Source #
The name of the placement group.
placementGroup_partitionCount :: Lens' PlacementGroup (Maybe Int) Source #
The number of partitions. Valid only if strategy is set to
partition.
placementGroup_spreadLevel :: Lens' PlacementGroup (Maybe SpreadLevel) Source #
The spread level for the placement group. Only Outpost placement groups can be spread across hosts.
placementGroup_state :: Lens' PlacementGroup (Maybe PlacementGroupState) Source #
The state of the placement group.
placementGroup_strategy :: Lens' PlacementGroup (Maybe PlacementStrategy) Source #
The placement strategy.
placementGroup_tags :: Lens' PlacementGroup (Maybe [Tag]) Source #
Any tags applied to the placement group.