software.amazon.awscdk.services.gamelift.alpha.BalancingStrategy Maven / Gradle / Ivy
Show all versions of gamelift-alpha Show documentation
package software.amazon.awscdk.services.gamelift.alpha;
/**
* (experimental) Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances in the game server group.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-12-27T17:02:12.090Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.gamelift.alpha.$Module.class, fqn = "@aws-cdk/aws-gamelift-alpha.BalancingStrategy")
public enum BalancingStrategy {
/**
* (experimental) 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.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
SPOT_ONLY,
/**
* (experimental) 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.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
SPOT_PREFERRED,
/**
* (experimental) 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.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
ON_DEMAND_ONLY,
}