| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Batch.Types.UpdatePolicy
Description
Documentation
data UpdatePolicy Source #
Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
See: newUpdatePolicy smart constructor.
Constructors
| UpdatePolicy' | |
Fields
| |
Instances
newUpdatePolicy :: UpdatePolicy Source #
Create a value of UpdatePolicy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:jobExecutionTimeoutMinutes:UpdatePolicy', updatePolicy_jobExecutionTimeoutMinutes - Specifies the job timeout (in minutes) when the compute environment
infrastructure is updated. The default value is 30.
$sel:terminateJobsOnUpdate:UpdatePolicy', updatePolicy_terminateJobsOnUpdate - Specifies whether jobs are automatically terminated when the computer
environment infrastructure is updated. The default value is false.
updatePolicy_jobExecutionTimeoutMinutes :: Lens' UpdatePolicy (Maybe Natural) Source #
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30.
updatePolicy_terminateJobsOnUpdate :: Lens' UpdatePolicy (Maybe Bool) Source #
Specifies whether jobs are automatically terminated when the computer
environment infrastructure is updated. The default value is false.