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

Class: Aws::Batch::Types::RetryStrategy

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

Overview

Note:

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

{
  attempts: 1,
}

The retry strategy associated with a job.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attemptsInteger

The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried if it fails until it has moved to RUNNABLE that many times.

Returns:

  • (Integer)

    The number of times to move a job to the RUNNABLE status.