Show / Hide Table of Contents

Class CfnGameServerGroup.AutoScalingPolicyProperty

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

Inheritance
object
CfnGameServerGroup.AutoScalingPolicyProperty
Implements
CfnGameServerGroup.IAutoScalingPolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGameServerGroup.AutoScalingPolicyProperty : CfnGameServerGroup.IAutoScalingPolicyProperty
Syntax (vb)
Public Class CfnGameServerGroup.AutoScalingPolicyProperty Implements CfnGameServerGroup.IAutoScalingPolicyProperty
Remarks

Configuration settings for intelligent automatic scaling that uses target tracking. After the Auto Scaling group is created, all updates to Auto Scaling policies, including changing this policy and adding or removing other policies, is done directly on the Auto Scaling group.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-autoscalingpolicy.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.GameLift;

             var autoScalingPolicyProperty = new AutoScalingPolicyProperty {
                 TargetTrackingConfiguration = new TargetTrackingConfigurationProperty {
                     TargetValue = 123
                 },

                 // the properties below are optional
                 EstimatedInstanceWarmup = 123
             };

Synopsis

Constructors

AutoScalingPolicyProperty()

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

Properties

EstimatedInstanceWarmup

Length of time, in seconds, it takes for a new instance to start new game server processes and register with Amazon GameLift Servers FleetIQ.

TargetTrackingConfiguration

Settings for a target-based scaling policy applied to Auto Scaling group.

Constructors

AutoScalingPolicyProperty()

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

public AutoScalingPolicyProperty()
Remarks

Configuration settings for intelligent automatic scaling that uses target tracking. After the Auto Scaling group is created, all updates to Auto Scaling policies, including changing this policy and adding or removing other policies, is done directly on the Auto Scaling group.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-autoscalingpolicy.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.GameLift;

             var autoScalingPolicyProperty = new AutoScalingPolicyProperty {
                 TargetTrackingConfiguration = new TargetTrackingConfigurationProperty {
                     TargetValue = 123
                 },

                 // the properties below are optional
                 EstimatedInstanceWarmup = 123
             };

Properties

EstimatedInstanceWarmup

Length of time, in seconds, it takes for a new instance to start new game server processes and register with Amazon GameLift Servers FleetIQ.

public double? EstimatedInstanceWarmup { get; set; }
Property Value

double?

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-autoscalingpolicy.html#cfn-gamelift-gameservergroup-autoscalingpolicy-estimatedinstancewarmup

TargetTrackingConfiguration

Settings for a target-based scaling policy applied to Auto Scaling group.

public object TargetTrackingConfiguration { get; set; }
Property Value

object

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-autoscalingpolicy.html#cfn-gamelift-gameservergroup-autoscalingpolicy-targettrackingconfiguration

Type union: either IResolvable or CfnGameServerGroup.ITargetTrackingConfigurationProperty

Implements

CfnGameServerGroup.IAutoScalingPolicyProperty
Back to top Generated by DocFX