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.JobTimeout
Description
Synopsis
Documentation
data JobTimeout Source #
An object that represents a job timeout configuration.
See: newJobTimeout
smart constructor.
Constructors
JobTimeout' | |
Fields
|
Instances
newJobTimeout :: JobTimeout Source #
Create a value of JobTimeout
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:attemptDurationSeconds:JobTimeout'
, jobTimeout_attemptDurationSeconds
- The job timeout time (in seconds) that's measured from the job
attempt's startedAt
timestamp. After this time passes, Batch
terminates your jobs if they aren't finished. The minimum value for the
timeout is 60 seconds.
For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.
jobTimeout_attemptDurationSeconds :: Lens' JobTimeout (Maybe Int) Source #
The job timeout time (in seconds) that's measured from the job
attempt's startedAt
timestamp. After this time passes, Batch
terminates your jobs if they aren't finished. The minimum value for the
timeout is 60 seconds.
For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.