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 (PDF).

AWS::GameLift::Fleet LocationCapacity

Current resource capacity settings for managed EC2 fleets and container fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region.

Returned by: 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. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.

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