AWS::GameLift::Fleet LocationCapacity
Current resource capacity settings for managed EC2 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 AWS 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