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 AWS Batch User Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "JobExecutionTimeoutMinutes" :
Integer
, "TerminateJobsOnUpdate" :Boolean
}
YAML
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