Skip to main content

placement_group

Gets an individual placement_group resource

Overview

Nameplacement_group
TypeResource
Descriptionplacement_group
Idawscc.ec2.placement_group

Fields

NameDatatypeDescription
strategystringThe placement strategy.
group_namestringThe Group Name of Placement Group.
spread_levelstringThe Spread Level of Placement Group is an enum where it accepts either host or rack when strategy is spread
partition_countintegerThe number of partitions. Valid only when **Strategy** is set to `partition`
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
strategy,
group_name,
spread_level,
partition_count,
tags
FROM awscc.ec2.placement_group
WHERE data__Identifier = '<GroupName>';

Permissions

To operate on the placement_group resource, the following permissions are required:

Read

ec2:DescribePlacementGroups

Delete

ec2:DeletePlacementGroup,
ec2:DescribePlacementGroups