AWS::GameLift::ContainerFleet - AWS CloudFormation

AWS::GameLift::ContainerFleet

Describes an Amazon GameLift managed container fleet.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

Properties

BillingType

Indicates whether the fleet uses On-Demand or Spot instances for this fleet. Learn more about when to use On-Demand versus Spot Instances. You can't update this fleet property.

By default, this property is set to ON_DEMAND.

Required: No

Type: String

Allowed values: ON_DEMAND | SPOT

Update requires: Replacement

DeploymentConfiguration

Set of rules for processing a deployment for a container fleet update.

Required: No

Type: DeploymentConfiguration

Update requires: No interruption

Description

A meaningful description of the container fleet.

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

FleetRoleArn

The unique identifier for an AWS Identity and Access Management (IAM) role with permissions to run your containers on resources that are managed by Amazon GameLift. See Set up an IAM service role. This fleet property can't be changed.

Required: Yes

Type: String

Pattern: ^arn:aws(-.*)?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$

Minimum: 1

Maximum: 256

Update requires: No interruption

GameServerContainerGroupDefinitionName

The name of the fleet's game server container group definition, which describes how to deploy containers with your game server build and support software onto each fleet instance.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9\-]+$|^arn:.*:containergroupdefinition\/[a-zA-Z0-9\-]+(:[0-9]+)?$

Minimum: 1

Maximum: 512

Update requires: No interruption

GameServerContainerGroupsPerInstance

The number of times to replicate the game server container group on each fleet instance.

Required: No

Type: Integer

Minimum: 1

Maximum: 5000

Update requires: No interruption

GameSessionCreationLimitPolicy

A policy that limits the number of game sessions that each individual player can create on instances in this fleet. The limit applies for a specified span of time.

Required: No

Type: GameSessionCreationLimitPolicy

Update requires: No interruption

InstanceConnectionPortRange

The set of port numbers to open on each instance in a container fleet. Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.

Required: No

Type: ConnectionPortRange

Update requires: No interruption

InstanceInboundPermissions

The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet.

Required: No

Type: Array of IpPermission

Maximum: 50

Update requires: No interruption

InstanceType

The Amazon EC2 instance type to use for all instances in the fleet. Instance type determines the computing resources and processing power that's available to host your game servers. This includes including CPU, memory, storage, and networking capacity. You can't update this fleet property.

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: Replacement

Locations

Property description not available.

Required: No

Type: Array of LocationConfiguration

Maximum: 100

Update requires: Replacement

LogConfiguration

The method that is used to collect container logs for the fleet. Amazon GameLift saves all standard output for each container in logs, including game session logs.

  • CLOUDWATCH -- Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.

  • S3 -- Store logs in an Amazon S3 bucket that you define.

  • NONE -- Don't collect container logs.

Required: No

Type: LogConfiguration

Update requires: No interruption

MetricGroups

The name of an AWS CloudWatch metric group to add this fleet to. Metric groups aggregate metrics for multiple fleets.

Required: No

Type: Array of String

Maximum: 1

Update requires: No interruption

NewGameSessionProtectionPolicy

Determines whether Amazon GameLift can shut down game sessions on the fleet that are actively running and hosting players. Amazon GameLift might prompt an instance shutdown when scaling down fleet capacity or when retiring unhealthy instances. You can also set game session protection for individual game sessions using UpdateGameSession.

  • NoProtection -- Game sessions can be shut down during active gameplay.

  • FullProtection -- Game sessions in ACTIVE status can't be shut down.

Required: No

Type: String

Allowed values: FullProtection | NoProtection

Update requires: No interruption

PerInstanceContainerGroupDefinitionName

The name of the fleet's per-instance container group definition.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9\-]+$|^arn:.*:containergroupdefinition\/[a-zA-Z0-9\-]+(:[0-9]+)?$

Minimum: 1

Maximum: 512

Update requires: No interruption

ScalingPolicies

Property description not available.

Required: No

Type: Array of ScalingPolicy

Maximum: 50

Update requires: No interruption

Tags

Property description not available.

Required: No

Type: Array of Tag

Maximum: 200

Update requires: No interruption

Return values

Ref

Fn::GetAtt

CreationTime

A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

FleetArn

The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift fleet ARN, the resource ID matches the FleetId value.

FleetId

A unique identifier for the container fleet to retrieve.

GameServerContainerGroupDefinitionArn

The Amazon Resource Name (ARN) that is assigned to the fleet's game server container group. The ARN value also identifies the specific container group definition version in use.

MaximumGameServerContainerGroupsPerInstance

The calculated maximum number of game server container group that can be deployed on each fleet instance. The calculation depends on the resource needs of the container group and the CPU and memory resources of the fleet's instance type.

PerInstanceContainerGroupDefinitionArn

The Amazon Resource Name (ARN) that is assigned to the fleet's per-instance container group. The ARN value also identifies the specific container group definition version in use.

Status

The current status of the container fleet.

  • PENDING -- A new container fleet has been requested.

  • CREATING -- A new container fleet resource is being created.

  • CREATED -- A new container fleet resource has been created. No fleet instances have been deployed.

  • ACTIVATING -- New container fleet instances are being deployed.

  • ACTIVE -- The container fleet has been deployed and is ready to host game sessions.

  • UPDATING -- Updates to the container fleet is being updated. A deployment is in progress.