/AWS1/CL_BTCUPDATEPOLICY¶
Specifies the infrastructure update policy for the Amazon EC2 compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_terminatejobsonupdate TYPE /AWS1/BTCBOOLEAN /AWS1/BTCBOOLEAN¶
Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. The default value is
false.
iv_jobexectimeoutminutes TYPE /AWS1/BTCJOBEXECTIMEOUTMINUTES /AWS1/BTCJOBEXECTIMEOUTMINUTES¶
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. The maximum value is 7200.
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.
Queryable Attributes¶
terminateJobsOnUpdate¶
Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. The default value is
false.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TERMINATEJOBSONUPDATE() |
Getter for TERMINATEJOBSONUPDATE, with configurable default |
ASK_TERMINATEJOBSONUPDATE() |
Getter for TERMINATEJOBSONUPDATE w/ exceptions if field has |
HAS_TERMINATEJOBSONUPDATE() |
Determine if TERMINATEJOBSONUPDATE has a value |
jobExecutionTimeoutMinutes¶
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. The maximum value is 7200.
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_JOBEXECTIMEOUTMINUTES() |
Getter for JOBEXECUTIONTIMEOUTMINUTES, with configurable def |
ASK_JOBEXECTIMEOUTMINUTES() |
Getter for JOBEXECUTIONTIMEOUTMINUTES w/ exceptions if field |
HAS_JOBEXECTIMEOUTMINUTES() |
Determine if JOBEXECUTIONTIMEOUTMINUTES has a value |