GameServerGroupAutoScalingPolicyArgs

data class GameServerGroupAutoScalingPolicyArgs(val estimatedInstanceWarmup: Output<Double>? = null, val targetTrackingConfiguration: Output<GameServerGroupTargetTrackingConfigurationArgs>) : ConvertibleToJava<GameServerGroupAutoScalingPolicyArgs>

Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

Constructors

Link copied to clipboard
constructor(estimatedInstanceWarmup: Output<Double>? = null, targetTrackingConfiguration: Output<GameServerGroupTargetTrackingConfigurationArgs>)

Properties

Link copied to clipboard
val estimatedInstanceWarmup: Output<Double>? = null

Length of time, in seconds, it takes for a new instance to start new game server processes and register with Amazon GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.

Link copied to clipboard

Settings for a target-based scaling policy applied to Auto Scaling group. These settings are used to create a target-based policy that tracks the GameLift FleetIQ metric PercentUtilizedGameServers and specifies a target value for the metric. As player usage changes, the policy triggers to adjust the game server group capacity so that the metric returns to the target value.

Functions

Link copied to clipboard
open override fun toJava(): GameServerGroupAutoScalingPolicyArgs