AWS::Batch::JobDefinition Timeout - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Batch::JobDefinition Timeout

An object that represents a job timeout configuration.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "AttemptDurationSeconds" : Integer }

YAML

AttemptDurationSeconds: Integer

Properties

AttemptDurationSeconds

The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp. After this time passes, Amazon 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.

Required: No

Type: Integer

Update requires: No interruption

See also