aws-cdk-lib.aws_gamelift.CfnGameServerGroup.TargetTrackingConfigurationProperty

interface TargetTrackingConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.GameLift.CfnGameServerGroup.TargetTrackingConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnGameServerGroup_TargetTrackingConfigurationProperty
Javasoftware.amazon.awscdk.services.gamelift.CfnGameServerGroup.TargetTrackingConfigurationProperty
Pythonaws_cdk.aws_gamelift.CfnGameServerGroup.TargetTrackingConfigurationProperty
TypeScript aws-cdk-lib » aws_gamelift » CfnGameServerGroup » TargetTrackingConfigurationProperty

This data type is used with the Amazon GameLift FleetIQ and game server groups..

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 { aws_gamelift as gamelift } from 'aws-cdk-lib';
const targetTrackingConfigurationProperty: gamelift.CfnGameServerGroup.TargetTrackingConfigurationProperty = {
  targetValue: 123,
};

Properties

NameTypeDescription
targetValuenumberDesired value to use with a game server group target-based scaling policy.

targetValue

Type: number

Desired value to use with a game server group target-based scaling policy.