ComputeScalingPolicy - AWS Batch
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ComputeScalingPolicy

An object that represents a scaling policy for a compute environment.

Contents

minScaleDownDelayMinutes

The minimum time (in minutes) that AWS Batch keeps instances running in the compute environment after their jobs complete. For each instance, the delay period begins when the last job finishes. If no new jobs are placed on the instance during this delay, AWS Batch terminates the instance once the delay expires.

Valid Range: Minimum value of 20. Maximum value of 10080. Use 0 to unset and disable the scale down delay.

Note

The scale down delay does not apply to:

  • Instances being replaced during infrastructure updates

  • Newly launched instances that have not yet run any jobs

  • Spot instances reclaimed due to interruption

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: