AWS::GameLift::Fleet ContainerGroupsPerInstance - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::GameLift::Fleet ContainerGroupsPerInstance

This data type is used with the Amazon GameLift containers feature, which is currently in public preview.

Determines how many replica container groups that Amazon GameLift deploys to each instance in a container fleet.

Amazon GameLift calculates the maximum possible replica groups per instance based on the instance 's CPU and memory resources. When deploying a fleet, Amazon GameLift places replica container groups on each fleet instance based on the following:

  • If no desired value is set, Amazon GameLift places the calculated maximum.

  • If a desired number is set to a value higher than the calculated maximum, fleet creation fails..

  • If a desired number is set to a value lower than the calculated maximum, Amazon GameLift places the desired number.

Part of: ContainerGroupsConfiguration, ContainerGroupsAttributes

Returned by: DescribeFleetAttributes, CreateFleet

Syntax

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

Properties

DesiredReplicaContainerGroupsPerInstance

The desired number of replica container groups to place on each fleet instance.

Required: No

Type: Integer

Minimum: 1

Maximum: 5000

Update requires: Replacement

MaxReplicaContainerGroupsPerInstance

The maximum possible number of replica container groups that each fleet instance can have.

Required: No

Type: Integer

Minimum: 1

Maximum: 5000

Update requires: Replacement