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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/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.

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)


8319
8320
8321
8322
8323
8324
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8319

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.



8319
8320
8321
8322
8323
8324
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8319

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