---
type: resource-type
title: PlacementGroup
description: aws resource type AWS::EC2::PlacementGroup
name: PlacementGroup
lexicon: aws
resource_type: AWS::EC2::PlacementGroup
---
`AWS::EC2::PlacementGroup`, a resource type of the aws lexicon.

## Properties

- `GroupId` (`string`, optional): The ID of the placement group.
- `GroupName` (`string`, optional): The Group Name of Placement Group.
- `ParentGroupId` (`string`, optional): The ID of a parent placement group. Valid for strategies that support parent group linking.
- `PartitionCount` (`number`, optional): The number of partitions. Valid only when **Strategy** is set to `partition`
- `SpreadLevel` (`string`, optional): The Spread Level of Placement Group is an enum where it accepts either host or rack when strategy is spread
- `Strategy` (`string`, optional): The placement strategy.
- `Tags` (`PlacementGroup_Tag[]`, optional): An array of key-value pairs to apply to this resource.

## Attributes

- `GroupId`
- `GroupName`
