Interface CfnFleet.ManagedCapacityConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleet.ManagedCapacityConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFleet
@Stability(Stable)
public static interface CfnFleet.ManagedCapacityConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration options for Amazon GameLift Servers-managed capacity behavior.
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.*;
ManagedCapacityConfigurationProperty managedCapacityConfigurationProperty = ManagedCapacityConfigurationProperty.builder()
.zeroCapacityStrategy("zeroCapacityStrategy")
// the properties below are optional
.scaleInAfterInactivityMinutes(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFleet.ManagedCapacityConfigurationPropertystatic final classAn implementation forCfnFleet.ManagedCapacityConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberLength 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.The strategy Amazon GameLift Servers will use to automatically scale your capacity to and from zero in response to game session activity.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getZeroCapacityStrategy
The strategy Amazon GameLift Servers will use to automatically scale your capacity to and from zero in response to game session activity.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 Also:
-
getScaleInAfterInactivityMinutes
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.- See Also:
-
builder
-