@Stability(value=Stable) public static final class CfnGameServerGroup.AutoScalingPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnGameServerGroup.AutoScalingPolicyProperty>
CfnGameServerGroup.AutoScalingPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnGameServerGroup.AutoScalingPolicyProperty |
build()
Builds the configured instance.
|
CfnGameServerGroup.AutoScalingPolicyProperty.Builder |
estimatedInstanceWarmup(Number estimatedInstanceWarmup)
|
CfnGameServerGroup.AutoScalingPolicyProperty.Builder |
targetTrackingConfiguration(CfnGameServerGroup.TargetTrackingConfigurationProperty targetTrackingConfiguration)
|
CfnGameServerGroup.AutoScalingPolicyProperty.Builder |
targetTrackingConfiguration(IResolvable targetTrackingConfiguration)
|
@Stability(value=Stable) public CfnGameServerGroup.AutoScalingPolicyProperty.Builder targetTrackingConfiguration(CfnGameServerGroup.TargetTrackingConfigurationProperty targetTrackingConfiguration)
targetTrackingConfiguration - Settings for a target-based scaling policy applied to Auto Scaling group. This parameter is required.
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.this@Stability(value=Stable) public CfnGameServerGroup.AutoScalingPolicyProperty.Builder targetTrackingConfiguration(IResolvable targetTrackingConfiguration)
targetTrackingConfiguration - Settings for a target-based scaling policy applied to Auto Scaling group. This parameter is required.
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.this@Stability(value=Stable) public CfnGameServerGroup.AutoScalingPolicyProperty.Builder estimatedInstanceWarmup(Number estimatedInstanceWarmup)
estimatedInstanceWarmup - Length of time, in seconds, it takes for a new instance to start new game server processes and register with 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.this@Stability(value=Stable) public CfnGameServerGroup.AutoScalingPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnGameServerGroup.AutoScalingPolicyProperty>CfnGameServerGroup.AutoScalingPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.