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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

Note:

When making an API call, you may pass RetryStrategy data as a hash:

{
  attempts: 1,
}

The retry strategy associated with a job.

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 attempts is greater than one, the job is retried if it fails until it has moved to RUNNABLE that many times.

Returns:

  • (Integer)


1726
1727
1728
1729
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1726

class RetryStrategy < Struct.new(
  :attempts)
  include Aws::Structure
end