amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.PlacementGroup

Description

 
Synopsis

Documentation

data PlacementGroup Source #

Describes a placement group.

See: newPlacementGroup smart constructor.

Constructors

PlacementGroup' 

Fields

Instances

Instances details
FromXML PlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.PlacementGroup

Generic PlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.PlacementGroup

Associated Types

type Rep PlacementGroup :: Type -> Type #

Read PlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.PlacementGroup

Show PlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.PlacementGroup

NFData PlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.PlacementGroup

Methods

rnf :: PlacementGroup -> () #

Eq PlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.PlacementGroup

Hashable PlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.PlacementGroup

type Rep PlacementGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.PlacementGroup

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_tags :: Lens' PlacementGroup (Maybe [Tag]) Source #

Any tags applied to the placement group.