AWS::Batch::JobDefinition RetryStrategy - AWS CloudFormation

AWS::Batch::JobDefinition RetryStrategy

The retry strategy associated with a job. For more information, see Automated job retries in the AWS Batch User Guide.


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


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



The number of times to move a job to the RUNNABLE status. You can 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


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