AWS::GameLift::Fleet LocationCapacity - 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.

AWS::GameLift::Fleet LocationCapacity

Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.

Related actions

DescribeFleetCapacity | DescribeFleetLocationCapacity | UpdateFleetCapacity

Syntax

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

JSON

{ "DesiredEC2Instances" : Integer, "MaxSize" : Integer, "MinSize" : Integer }

YAML

DesiredEC2Instances: Integer MaxSize: Integer MinSize: Integer

Properties

DesiredEC2Instances

The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits.

Required: Yes

Type: Integer

Minimum: 0

Update requires: No interruption

MaxSize

The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.

Required: Yes

Type: Integer

Minimum: 0

Update requires: No interruption

MinSize

The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.

Required: Yes

Type: Integer

Minimum: 0

Update requires: No interruption