AWS::Events::Rule BatchRetryStrategy - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Events::Rule BatchRetryStrategy

The retry strategy to use for failed jobs, if the target is an AWS Batch job. If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.

Syntax

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

JSON

{ "Attempts" : Integer }

YAML

Attempts: Integer

Properties

Attempts

The number of times to attempt to retry, if the job fails. Valid values are 1–10.

Required: No

Type: Integer

Update requires: No interruption

Examples

Set the BatchRetryStrategy property

The following example sets the BatchRetryStrategy property to 8 retries.

JSON

"RetryStrategy": { "Attempts": 8 }

YAML

RetryStrategy Attempts: 8