@Stability(value=Stable)
public static interface CfnGameServerGroup.TargetTrackingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Settings for a target-based scaling policy as part of a GameServerGroupAutoScalingPolicy . 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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gamelift.*;
TargetTrackingConfigurationProperty targetTrackingConfigurationProperty = TargetTrackingConfigurationProperty.builder()
.targetValue(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGameServerGroup.TargetTrackingConfigurationProperty.Builder
A builder for
CfnGameServerGroup.TargetTrackingConfigurationProperty |
static class |
CfnGameServerGroup.TargetTrackingConfigurationProperty.Jsii$Proxy
An implementation for
CfnGameServerGroup.TargetTrackingConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGameServerGroup.TargetTrackingConfigurationProperty.Builder |
builder() |
Number |
getTargetValue()
Desired value to use with a game server group target-based scaling policy.
|
@Stability(value=Stable) @NotNull Number getTargetValue()
@Stability(value=Stable) static CfnGameServerGroup.TargetTrackingConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.