AWS::Batch::JobDefinition RetryStrategy - AWS CloudFormation

AWS::Batch::JobDefinition RetryStrategy

The retry strategy associated with a job.

Syntax

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

JSON

{ "Attempts" : Integer, "EvaluateOnExit" : [ EvaluateOnExit, ... ] }

Properties

Attempts

The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

Required: No

Type: Integer

Update requires: No interruption

EvaluateOnExit

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Required: No

Type: List of EvaluateOnExit

Update requires: No interruption