AWS Fundamentals Logo
AWS Fundamentals
AWS::GameLift::ContainerFleet

GameLift ContainerFleet

The AWS::GameLift::ContainerFleet resource creates an Amazon GameLift (GameLift) container fleet to host game servers.

Properties

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

Filter:
PropertyTypeFlags
FleetRoleArn
string
Required
BillingType
string
Create-only
DeploymentConfiguration
DeploymentConfiguration
Write-only
Description
string
GameServerContainerGroupDefinitionName
string
Write-only
GameServerContainerGroupsPerInstance
integer
GameSessionCreationLimitPolicy
GameSessionCreationLimitPolicy
InstanceConnectionPortRange
ConnectionPortRange
InstanceInboundPermissions
Array<IpPermission>
InstanceType
string
Create-only
Locations
Array<LocationConfiguration>
LogConfiguration
LogConfiguration
MetricGroups
Array<string>
NewGameSessionProtectionPolicy
string
PerInstanceContainerGroupDefinitionName
string
Write-only
PlayerGatewayMode
string
Create-only
ScalingPolicies
Array<ScalingPolicy>
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
CreationTimestringA time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
DeploymentDetailsDeploymentDetails-
FleetArnstringThe Amazon Resource Name (ARN) that is assigned to a Amazon GameLift container fleet resource and uniquely identifies it across all AWS Regions.
FleetIdstringUnique fleet ID
GameServerContainerGroupDefinitionArnstringThe Amazon Resource Name (ARN) of the game server container group definition. This field will be empty if GameServerContainerGroupDefinitionName is not specified.
MaximumGameServerContainerGroupsPerInstanceintegerThe maximum number of game server container groups per instance, a number between 1-5000.
PerInstanceContainerGroupDefinitionArnstringThe Amazon Resource Name (ARN) of the per instance container group definition. This field will be empty if PerInstanceContainerGroupDefinitionName is not specified.
StatusstringThe current status of the container fleet.

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

Resources:
  MyResource:
    Type: AWS::GameLift::ContainerFleet
    Properties:
      FleetRoleArn: "arn:aws:service:region:account:resource"
      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:CreateContainerFleetgamelift:DescribeContainerFleetgamelift:DescribeFleetDeploymentgamelift:DescribeFleetLocationAttributesgamelift:DescribeFleetLocationCapacitygamelift:DescribeScalingPoliciesgamelift:ListTagsForResourcegamelift:PutScalingPolicy

read

gamelift:DescribeContainerFleetgamelift:DescribeFleetLocationAttributesgamelift:DescribeFleetLocationCapacitygamelift:DescribeScalingPoliciesgamelift:ListTagsForResource

delete

gamelift:DeleteContainerFleetgamelift:DescribeContainerFleet

list

gamelift:ListContainerFleets

update

gamelift:CreateFleetLocationsgamelift:DeleteFleetLocationsgamelift:DeleteScalingPolicygamelift:DescribeContainerFleetgamelift:DescribeFleetDeploymentgamelift:DescribeFleetLocationAttributesgamelift:DescribeFleetLocationCapacitygamelift:DescribeScalingPolicies

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

Supported Operations

CreateReadDeleteListUpdate

Immutable After Creation

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

InstanceTypeBillingTypePlayerGatewayMode

External Links