AWS::Batch::JobDefinition RetryStrategy
The retry strategy associated with a job. For more information, see Automated job retries in the AWS Batch User Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Attempts" :
Integer
, "EvaluateOnExit" :[ EvaluateOnExit, ... ]
}
YAML
Attempts:
Integer
EvaluateOnExit:- EvaluateOnExit
Properties
Attempts
-
The number of times to move a job to the
RUNNABLE
status. You can specify between 1 and 10 attempts. If the value ofattempts
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