AWS::Events::Rule BatchRetryStrategy - AWS CloudFormation (original) (raw)

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 AWS CloudFormation template, use the following syntax:

JSON

{
  "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

BatchParameters

CapacityProviderStrategyItem

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.