placement_groups_list_only
Lists placement_groups
in a region or regions, for all properties use placement_groups
Overview
Name | placement_groups_list_only |
Type | Resource |
Description | Resource Type definition for AWS::EC2::PlacementGroup |
Id | aws.ec2.placement_groups_list_only |
Fields
Name | Datatype | Description |
---|---|---|
strategy | string | The placement strategy. |
group_name | string | The Group Name of Placement Group. |
spread_level | string | The Spread Level of Placement Group is an enum where it accepts either host or rack when strategy is spread |
partition_count | integer | The number of partitions. Valid only when **Strategy** is set to `partition` |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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