AWS::GameLift::GameServerGroupThe AWS::GameLift::GameServerGroup resource creates an Amazon GameLift (GameLift) GameServerGroup.
12 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
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 |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AutoScalingGroupArn | string | A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group. |
GameServerGroupArn | string | A generated unique ID for the game server group. |
A minimal template with required properties and common optional ones.
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: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
gamelift:CreateGameServerGroupgamelift:ListTagsForResourcegamelift:TagResourcegamelift:DescribeGameServerGroupiam:assumeRoleiam:PassRoleiam:CreateServiceLinkedRoleec2:DescribeAvailabilityZonesgamelift:DescribeGameServerGroupgamelift:ListTagsForResourcegamelift:UpdateGameServerGroupgamelift:TagResourcegamelift:UntagResourcegamelift:ListTagsForResourceiam:assumeRoleiam:PassRoleautoscaling:DescribeAutoScalingGroupsautoscaling:UpdateAutoScalingGroupgamelift:DeleteGameServerGroupgamelift:DescribeGameServerGroupiam:assumeRoleiam:PassRoleiam:CreateServiceLinkedRoleec2:DescribeAvailabilityZonesec2:DescribeSubnetsec2:DescribeLaunchTemplateVersionsgamelift:ListGameServerGroupsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterGameServerGroupArn