Class: Aws::Batch::Types::ServiceJobRetryStrategy
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::ServiceJobRetryStrategy
- 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
-
#attempts ⇒ Integer
The number of times to move a service job to ‘RUNNABLE` status.
-
#evaluate_on_exit ⇒ Array<Types::ServiceJobEvaluateOnExit>
Array of ‘ServiceJobEvaluateOnExit` objects that specify conditions under which the service job should be retried or failed.
Instance Attribute Details
#attempts ⇒ Integer
The number of times to move a service job to ‘RUNNABLE` status. You can specify between 1 and 10 attempts.
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_exit ⇒ Array<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 |