Class CfnFleet.ManagedCapacityConfigurationProperty
Configuration options for Amazon GameLift Servers-managed capacity behavior.
Implements
Inherited Members
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
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
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
Remarks
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
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.