AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::PlacementGroup

EC2 PlacementGroup

Resource Type definition for AWS::EC2::PlacementGroup

Properties

4 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
PartitionCount
integer
Create-only
SpreadLevel
string
Create-only
Strategy
string
Create-only
Tags
Array<Tag>
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
GroupNamestringThe Group Name of Placement Group.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::PlacementGroup

Resources:
  MyResource:
    Type: AWS::EC2::PlacementGroup
    Properties:
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreatePlacementGroupec2:DescribePlacementGroupsec2:CreateTags

read

ec2:DescribePlacementGroups

delete

ec2:DeletePlacementGroupec2:DescribePlacementGroups

list

ec2:DescribePlacementGroups

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties5
Required0
TaggingSupported
Primary IDGroupName

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

TagsStrategySpreadLevelPartitionCount

External Links