ManagedCapacityConfigurationProperty Struct
Configuration options for Amazon GameLift Servers managed capacity behavior.
Example
ts
// 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
scaleInAfterInactivityMinutesnumberscale_in_after_inactivity_minutesint | floatscaleInAfterInactivityMinutesNumberScaleInAfterInactivityMinutesdoubleScaleInAfterInactivityMinutes*float64#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.
zeroCapacityStrategystringzero_capacity_strategystrzeroCapacityStrategyStringZeroCapacityStrategystringZeroCapacityStrategy*stringrequired#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.