UpdatePolicy
Specifies the infrastructure update policy for the Amazon EC2 compute environment. For more information about infrastructure updates, see Updating compute environments in the AWS Batch User Guide.
Contents
- jobExecutionTimeoutMinutes
-
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. The maximum value is 7200.
Note
Increasing
jobExecutionTimeoutMinutesduring infrastructure updates delays the replacement of instances with new instances that include updates such as security patches, but provides more time for jobs to execute. Consider the security implications of this tradeoff when setting timeout values.Type: Long
Valid Range: Minimum value of 1. Maximum value of 7200.
Required: No
- terminateJobsOnUpdate
-
Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. The default value is
false.Type: Boolean
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: