Show / Hide Table of Contents

Class CfnFleet.ManagedCapacityConfigurationProperty

Configuration options for Amazon GameLift Servers-managed capacity behavior.

Inheritance
object
CfnFleet.ManagedCapacityConfigurationProperty
Implements
CfnFleet.IManagedCapacityConfigurationProperty
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 CfnFleet.ManagedCapacityConfigurationProperty : CfnFleet.IManagedCapacityConfigurationProperty
Syntax (vb)
Public Class CfnFleet.ManagedCapacityConfigurationProperty Implements CfnFleet.IManagedCapacityConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-managedcapacityconfiguration.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 managedCapacityConfigurationProperty = new ManagedCapacityConfigurationProperty {
                 ZeroCapacityStrategy = "zeroCapacityStrategy",

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

Synopsis

Constructors

ManagedCapacityConfigurationProperty()

Configuration options for Amazon GameLift Servers-managed capacity behavior.

Properties

ScaleInAfterInactivityMinutes

Length of time, in minutes, that Amazon GameLift Servers will wait before scaling in your MinSize and DesiredInstances to 0 after a period with no game session activity.

ZeroCapacityStrategy

The strategy Amazon GameLift Servers will use to automatically scale your capacity to and from zero in response to game session activity.

Constructors

ManagedCapacityConfigurationProperty()

Configuration options for Amazon GameLift Servers-managed capacity behavior.

public ManagedCapacityConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-managedcapacityconfiguration.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 managedCapacityConfigurationProperty = new ManagedCapacityConfigurationProperty {
                 ZeroCapacityStrategy = "zeroCapacityStrategy",

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

Properties

ScaleInAfterInactivityMinutes

Length of time, in minutes, that Amazon GameLift Servers will wait before scaling in your MinSize and DesiredInstances to 0 after a period with no game session activity.

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

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-managedcapacityconfiguration.html#cfn-gamelift-fleet-managedcapacityconfiguration-scaleinafterinactivityminutes

ZeroCapacityStrategy

The strategy Amazon GameLift Servers will use to automatically scale your capacity to and from zero in response to game session activity.

public string ZeroCapacityStrategy { get; set; }
Property Value

string

Remarks

Game session activity refers to any active running sessions or game session requests. When set to SCALE_TO_AND_FROM_ZERO, MinSize must not be specified and will be managed automatically. When set to MANUAL, MinSize is required.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-managedcapacityconfiguration.html#cfn-gamelift-fleet-managedcapacityconfiguration-zerocapacitystrategy

Implements

CfnFleet.IManagedCapacityConfigurationProperty
Back to top Generated by DocFX