This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Batch::ComputeEnvironment InfrastructureOptimization
The infrastructure optimization configuration for an Amazon ECS Managed Instances capacity provider. Specifies the idle-instance scale-in behavior.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "ScaleInAfter" :Integer}
YAML
ScaleInAfter:Integer
Properties
ScaleInAfter-
The number of seconds an instance can remain idle before it is terminated. Valid values are
-1or0to3600. Use-1as a special value to disable scale-in (instances are never terminated for being idle). If not specified, a default value applies.Required: No
Type: Integer
Update requires: No interruption