AWS Fundamentals Logo
AWS Fundamentals
AWS::GameLift::GameServerGroup

GameLift GameServerGroup

The AWS::GameLift::GameServerGroup resource creates an Amazon GameLift (GameLift) GameServerGroup.

Properties

12 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
GameServerGroupName
string
Required
InstanceDefinitions
array
Required
RoleArn
string
Required
AutoScalingPolicy
AutoScalingPolicy
Write-only
BalancingStrategy
string
DeleteOption
string
Write-only
GameServerProtectionPolicy
string
LaunchTemplate
LaunchTemplate
Write-only
MaxSize
number
Write-only
MinSize
number
Write-only
Tags
array
VpcSubnets
array
Write-only

Return Values

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

AttributeTypeDescription
AutoScalingGroupArnstringA generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
GameServerGroupArnstringA generated unique ID for the game server 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::GameLift::GameServerGroup

Resources:
  MyResource:
    Type: AWS::GameLift::GameServerGroup
    Properties:
      GameServerGroupName: "my-gameservergroupname"
      InstanceDefinitions: "value"
      RoleArn: "arn:aws:service:region:account:resource"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

gamelift:CreateGameServerGroupgamelift:ListTagsForResourcegamelift:TagResourcegamelift:DescribeGameServerGroupiam:assumeRoleiam:PassRoleiam:CreateServiceLinkedRoleec2:DescribeAvailabilityZones

read

gamelift:DescribeGameServerGroupgamelift:ListTagsForResource

update

gamelift:UpdateGameServerGroupgamelift:TagResourcegamelift:UntagResourcegamelift:ListTagsForResourceiam:assumeRoleiam:PassRoleautoscaling:DescribeAutoScalingGroupsautoscaling:UpdateAutoScalingGroup

delete

gamelift:DeleteGameServerGroupgamelift:DescribeGameServerGroupiam:assumeRoleiam:PassRoleiam:CreateServiceLinkedRoleec2:DescribeAvailabilityZonesec2:DescribeSubnetsec2:DescribeLaunchTemplateVersions

list

gamelift:ListGameServerGroups

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceGameLift
Properties14
Required3
TaggingSupported
Primary IDGameServerGroupArn

Supported Operations

CreateReadUpdateDeleteList

External Links