enum BalancingStrategy
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GameLift.Alpha.BalancingStrategy |
Go | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#BalancingStrategy |
Java | software.amazon.awscdk.services.gamelift.alpha.BalancingStrategy |
Python | aws_cdk.aws_gamelift_alpha.BalancingStrategy |
TypeScript (source) | @aws-cdk/aws-gamelift-alpha ยป BalancingStrategy |
Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances in the game server group.
Members
Name | Description |
---|---|
SPOT_ONLY | Only Spot Instances are used in the game server group. |
SPOT_PREFERRED | Spot Instances are used whenever available in the game server group. |
ON_DEMAND_ONLY | Only On-Demand Instances are used in the game server group. |
SPOT_ONLY
Only Spot Instances are used in the game server group.
If Spot Instances are unavailable or not viable for game hosting, the game server group provides no hosting capacity until Spot Instances can again be used. Until then, no new instances are started, and the existing nonviable Spot Instances are terminated (after current gameplay ends) and are not replaced.
SPOT_PREFERRED
Spot Instances are used whenever available in the game server group.
If Spot Instances are unavailable, the game server group continues to provide hosting capacity by falling back to On-Demand Instances. Existing nonviable Spot Instances are terminated (after current gameplay ends) and are replaced with new On-Demand Instances.
ON_DEMAND_ONLY
Only On-Demand Instances are used in the game server group.
No Spot Instances are used, even when available, while this balancing strategy is in force.