Interface CfnFleetPropsMixin.ManagedCapacityConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleetPropsMixin.ManagedCapacityConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFleetPropsMixin
@Stability(Stable)
public static interface CfnFleetPropsMixin.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.cfnpropertymixins.services.gamelift.*;
ManagedCapacityConfigurationProperty managedCapacityConfigurationProperty = ManagedCapacityConfigurationProperty.builder()
.scaleInAfterInactivityMinutes(123)
.zeroCapacityStrategy("zeroCapacityStrategy")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFleetPropsMixin.ManagedCapacityConfigurationPropertystatic final classAn implementation forCfnFleetPropsMixin.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.default StringThe 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
-
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:
-
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:
-
builder
-