aws::placement-group

Creates a Placement Group with the specified name and placement strategy.

Example

aws::placement-group example-placement-group
    name: "TestGroup"
    placement-strategy: "partition"
    partition-count: 3
end

Attributes

Attribute Description
name The name of the Placement Group. (Required)
placement-strategy

Approaches towards managing the placement of instances on the underlying hardware.

Defaults to the``cluster`` strategy. Valid values are cluster, spread or partition. (Required)

partition-count The number of partitions comprising the Placement Group. Only required when strategy is set to partition. Valid values are between 1 to 7.

Outputs

Attribute Description
id The ID of the Placement Group.