Skip to main content

placement_groups_list_only

Lists placement_groups in a region or regions, for all properties use placement_groups

Overview

Nameplacement_groups_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::PlacementGroup
Idaws.ec2.placement_groups_list_only

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

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all placement_groups in a region.

SELECT
region,
group_name
FROM aws.ec2.placement_groups_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the placement_groups_list_only resource, see placement_groups