Class: Aws::EventBridgeV2::Types::RetryPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb

Overview

Retry policy for a subscriber.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_event_age_in_seconds ⇒ Integer

Maximum age of an event in seconds before it is discarded (60-86400, default: 300).

Returns:

  • (Integer)


2355
2356
2357
2358
2359
2360
2361
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 2355

class RetryPolicy < Struct.new(
  :max_retry_attempts,
  :max_event_age_in_seconds,
  :retry_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#max_retry_attempts ⇒ Integer

Maximum number of retry attempts (0-185, default: 5).

Returns:

  • (Integer)


2355
2356
2357
2358
2359
2360
2361
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 2355

class RetryPolicy < Struct.new(
  :max_retry_attempts,
  :max_event_age_in_seconds,
  :retry_strategy)
  SENSITIVE = []
  include Aws::Structure
end

#retry_strategy ⇒ String

Strategy for determining which exceptions are retried. Default: ALL.

Returns:

  • (String)


2355
2356
2357
2358
2359
2360
2361
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 2355

class RetryPolicy < Struct.new(
  :max_retry_attempts,
  :max_event_age_in_seconds,
  :retry_strategy)
  SENSITIVE = []
  include Aws::Structure
end