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

## Properties

- `GameServerGroupName` (`string`, required): An identifier for the new game server group.
- `InstanceDefinitions` (`any`, required): A set of EC2 instance types to use when creating instances in the group.
- `RoleArn` (`string`, required): The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- `AutoScalingGroupArn` (`string`, optional): A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- `AutoScalingPolicy` (`GameServerGroup_AutoScalingPolicy`, optional): Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.
- `BalancingStrategy` (`GameServerGroup_BalancingStrategy`, optional): The fallback balancing method to use for the game server group when Spot Instances in a Region become unavailable or are not viable for game hosting.
- `DeleteOption` (`GameServerGroup_DeleteOption`, optional): The type of delete to perform.
- `GameServerGroupArn` (`string`, optional): A generated unique ID for the game server group.
- `GameServerProtectionPolicy` (`GameServerGroup_GameServerProtectionPolicy`, optional): A flag that indicates whether instances in the game server group are protected from early termination.
- `LaunchTemplate` (`GameServerGroup_LaunchTemplate`, optional): The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.
- `MaxSize` (`number`, optional): The maximum number of instances allowed in the EC2 Auto Scaling group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.
- `MinSize` (`number`, optional): The minimum number of instances allowed in the EC2 Auto Scaling group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.
- `Tags` (`any`, optional): A list of labels to assign to the new game server group resource. Updating game server group tags with CloudFormation will not take effect. Please update this property using AWS GameLift APIs instead.
- `VpcSubnets` (`any`, optional): A list of virtual private cloud (VPC) subnets to use with instances in the game server group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

## Attributes

- `AutoScalingGroupArn`
- `GameServerGroupArn`
