interface ManagedCapacityConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GameLift.CfnContainerFleet.ManagedCapacityConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnContainerFleet_ManagedCapacityConfigurationProperty |
Java | software.amazon.awscdk.services.gamelift.CfnContainerFleet.ManagedCapacityConfigurationProperty |
Python | aws_cdk.aws_gamelift.CfnContainerFleet.ManagedCapacityConfigurationProperty |
TypeScript | aws-cdk-lib » aws_gamelift » CfnContainerFleet » ManagedCapacityConfigurationProperty |
Configuration options for GameLift-managed capacity behavior.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const managedCapacityConfigurationProperty: gamelift.CfnContainerFleet.ManagedCapacityConfigurationProperty = {
zeroCapacityStrategy: 'zeroCapacityStrategy',
// the properties below are optional
scaleInAfterInactivityMinutes: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| zero | string | The strategy Amazon GameLift Servers will use to automatically scale your capacity to and from zero in response to game session activity. |
| scale | number | 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
Type:
string
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.
scaleInAfterInactivityMinutes?
Type:
number
(optional)
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.

.NET
Go
Java
Python
TypeScript