class Amazonite::EventBridge::BatchRetryStrategy

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

Defined in:

eventbridge/batch_retry_strategy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(attempts : Int32 | Nil = nil) #

[View source]

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.


[View source]
def attempts=(attempts : Int32 | Nil) #

The number of times to attempt to retry, if the job fails. Valid values are 1–10.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]