placement_group
Gets an individual placement_group
resource
Overview
Name | placement_group |
Type | Resource |
Description | placement_group |
Id | awscc.ec2.placement_group |
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
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