Class: Aws::Batch::Types::ServiceJobRetryStrategy

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

Overview

The retry strategy for service jobs. This defines how many times to retry a failed service job and under what conditions. For more information, see [Service job retry strategies] in the *Batch User Guide*.

[1]: docs.aws.amazon.com/batch/latest/userguide/service-job-retries.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attemptsInteger

The number of times to move a service job to ‘RUNNABLE` status. You can specify between 1 and 10 attempts.

Returns:

  • (Integer)


8443
8444
8445
8446
8447
8448
# File 'lib/aws-sdk-batch/types.rb', line 8443

class ServiceJobRetryStrategy < Struct.new(
  :attempts,
  :evaluate_on_exit)
  SENSITIVE = []
  include Aws::Structure
end

#evaluate_on_exitArray<Types::ServiceJobEvaluateOnExit>

Array of ‘ServiceJobEvaluateOnExit` objects that specify conditions under which the service job should be retried or failed.



8443
8444
8445
8446
8447
8448
# File 'lib/aws-sdk-batch/types.rb', line 8443

class ServiceJobRetryStrategy < Struct.new(
  :attempts,
  :evaluate_on_exit)
  SENSITIVE = []
  include Aws::Structure
end