Interface CfnJobDefinition.TimeoutProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnJobDefinition.TimeoutProperty extends
An object that represents a job timeout configuration.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 TimeoutProperty timeoutProperty = TimeoutProperty.builder()
  • Method Details

    • getAttemptDurationSeconds

      @Stability(Stable) @Nullable default Number getAttemptDurationSeconds()
      The job timeout time (in seconds) that's measured from the job attempt's `startedAt` timestamp.

      After this time passes, AWS 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.

    • builder

      @Stability(Stable) static CfnJobDefinition.TimeoutProperty.Builder builder()
      a CfnJobDefinition.TimeoutProperty.Builder of CfnJobDefinition.TimeoutProperty