You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EventBridge::Types::RetryPolicy

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RetryPolicy as input to an Aws::Client method, you can use a vanilla Hash:

{
  maximum_retry_attempts: 1,
  maximum_event_age_in_seconds: 1,
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#maximum_event_age_in_secondsInteger

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

Returns:

  • (Integer)

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

#maximum_retry_attemptsInteger

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.

Returns:

  • (Integer)

    The maximum number of retry attempts to make before the request fails.