AWS::Batch::ComputeEnvironment UpdatePolicy - 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).

AWS::Batch::ComputeEnvironment UpdatePolicy

Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Amazon Batch User Guide.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "JobExecutionTimeoutMinutes" : Integer, "TerminateJobsOnUpdate" : Boolean }

Properties

JobExecutionTimeoutMinutes

Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30.

Required: No

Type: Integer

Update requires: No interruption

TerminateJobsOnUpdate

Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is false.

Required: No

Type: Boolean

Update requires: No interruption