You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchEvents::Types::BatchRetryStrategy

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing BatchRetryStrategy as input to an Aws::Client method, you can use a vanilla Hash:

{
  attempts: 1,
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attemptsInteger

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

Returns:

  • (Integer)

    The number of times to attempt to retry, if the job fails.