Class BalancingStrategy
(experimental) Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances in the game server group.
Inheritance
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public sealed class BalancingStrategy : Enum
Syntax (vb)
Public NotInheritable Class BalancingStrategy
Inherits
Enum
Remarks
Stability: Experimental
Synopsis
Fields
ON_DEMAND_ONLY | (experimental) Only On-Demand Instances are used in the game server group. |
SPOT_ONLY | (experimental) Only Spot Instances are used in the game server group. |
SPOT_PREFERRED | (experimental) Spot Instances are used whenever available in the game server group. |
value__ |
Fields
ON_DEMAND_ONLY
(experimental) Only On-Demand Instances are used in the game server group.
public const BalancingStrategy ON_DEMAND_ONLY
Field Value
Type | Description |
---|---|
BalancingStrategy |
Remarks
No Spot Instances are used, even when available, while this balancing strategy is in force.
Stability: Experimental
SPOT_ONLY
(experimental) Only Spot Instances are used in the game server group.
public const BalancingStrategy SPOT_ONLY
Field Value
Type | Description |
---|---|
BalancingStrategy |
Remarks
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.
Stability: Experimental
SPOT_PREFERRED
(experimental) Spot Instances are used whenever available in the game server group.
public const BalancingStrategy SPOT_PREFERRED
Field Value
Type | Description |
---|---|
BalancingStrategy |
Remarks
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.
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |