View a markdown version of this page

AWS::Batch::ComputeEnvironment InfrastructureOptimization - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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 -1 or 0 to 3600. Use -1 as 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