class Amazonite::EventBridge::RetryPolicy

Overview

A RetryPolicy object that includes information about the retry policy settings.

Included Modules

Defined in:

eventbridge/retry_policy.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def maximum_event_age_in_seconds : Int32 | Nil #

The maximum amount of time, in seconds, to continue to make retry attempts.


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

The maximum amount of time, in seconds, to continue to make retry attempts.


[View source]
def maximum_retry_attempts : Int32 | Nil #

The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.


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

The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.


[View source]
def validate! : Nil #

[View source]