RetryStrategy - Amazon Batch
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).

RetryStrategy

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

Contents

attempts

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.

Type: Integer

Required: No

evaluateOnExit

Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the attempts parameter must also be specified. If none of the listed conditions match, then the job is retried.

Type: Array of EvaluateOnExit objects

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: