AWS Fundamentals Logo
AWS Fundamentals
AWS::GameLift::Fleet

GameLift Fleet

The AWS::GameLift::Fleet resource creates an Amazon GameLift (GameLift) fleet to host game servers. A fleet is a set of EC2 or Anywhere instances, each of which can host multiple game sessions.

Properties

30 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
Required
AnywhereConfiguration
AnywhereConfiguration
ApplyCapacity
string
Write-only
BuildId
string
Create-only
CertificateConfiguration
CertificateConfiguration
Create-only
ComputeType
string
Create-only
Description
string
DesiredEC2Instances
integer
Deprecated
EC2InboundPermissions
Array<IpPermission>
EC2InstanceType
string
Create-only
FleetType
string
Create-only
InstanceRoleARN
string
Create-only
InstanceRoleCredentialsProvider
string
Create-only
Locations
Array<LocationConfiguration>
LogPaths
Array<string>
Create-onlyDeprecated
MaxSize
integer
Deprecated
MetricGroups
Array<string>
MinSize
integer
Deprecated
NewGameSessionProtectionPolicy
string
PeerVpcAwsAccountId
string
Create-only
PeerVpcId
string
Create-only
PlayerGatewayConfiguration
PlayerGatewayConfiguration
Create-only
PlayerGatewayMode
string
Create-only
ResourceCreationLimitPolicy
ResourceCreationLimitPolicy
RuntimeConfiguration
RuntimeConfiguration
ScalingPolicies
Array<ScalingPolicy>
ScriptId
string
Create-only
ServerLaunchParameters
string
Create-onlyDeprecated
ServerLaunchPath
string
Create-onlyDeprecated
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
FleetArnstringThe Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers Fleet resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift Fleet ARN, the resource ID matches the FleetId value.
FleetIdstringUnique fleet ID

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::Fleet

Resources:
  MyResource:
    Type: AWS::GameLift::Fleet
    Properties:
      Name: "my-name"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

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

create

gamelift:CreateFleetgamelift:CreateFleetLocationsgamelift:DescribeFleetAttributesgamelift:DescribeFleetLocationAttributesgamelift:UpdateFleetCapacitygamelift:DescribeFleetLocationCapacitygamelift:DescribeFleetCapacitygamelift:DescribeFleetPortSettings

read

gamelift:DescribeFleetAttributesgamelift:DescribeFleetLocationAttributesgamelift:DescribeFleetLocationCapacitygamelift:DescribeFleetCapacitygamelift:DescribeFleetPortSettingsgamelift:DescribeRuntimeConfigurationgamelift:DescribeScalingPoliciesgamelift:ListTagsForResource

update

gamelift:UpdateFleetAttributesgamelift:CreateFleetLocationsgamelift:DeleteFleetLocationsgamelift:UpdateFleetCapacitygamelift:UpdateFleetPortSettingsgamelift:UpdateRuntimeConfigurationgamelift:DescribeFleetLocationCapacitygamelift:DescribeFleetPortSettings

delete

gamelift:DeleteFleetgamelift:DescribeFleetLocationCapacitygamelift:DescribeFleetAttributesgamelift:DescribeFleetCapacitygamelift:DescribeFleetLocationCapacitygamelift:UpdateFleetCapacitygamelift:DescribeScalingPoliciesgamelift:DeleteScalingPolicy

list

gamelift:ListFleets

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
Properties32
Required1
TaggingSupported
Primary IDFleetId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

BuildIdCertificateConfigurationEC2InstanceTypeFleetTypeInstanceRoleARNInstanceRoleCredentialsProviderLogPathsPeerVpcAwsAccountIdPeerVpcIdScriptIdServerLaunchParametersServerLaunchPathComputeTypePlayerGatewayModePlayerGatewayConfiguration

External Links