class
Amazonite::EventBridge::BatchRetryStrategy
- Amazonite::EventBridge::BatchRetryStrategy
- Reference
- Object
Overview
The retry strategy to use for failed jobs, if the target is an Batch job. If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
Included Modules
- JSON::Serializable
Defined in:
eventbridge/batch_retry_strategy.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#attempts : Int32 | Nil
The number of times to attempt to retry, if the job fails.
-
#attempts=(attempts : Int32 | Nil)
The number of times to attempt to retry, if the job fails.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def attempts : Int32 | Nil
#
The number of times to attempt to retry, if the job fails. Valid values are 1–10.
def attempts=(attempts : Int32 | Nil)
#
The number of times to attempt to retry, if the job fails. Valid values are 1–10.