Class: Aws::EventBridgeV2::Types::BatchConfiguration

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

Overview

Batching configuration for a subscriber.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_batch_size ⇒ Integer

The maximum number of events to include in a single batch delivered to the target. The service delivers up to this many events per batch; fewer may be delivered when the batch window elapses or the target's per-batch limit is smaller. This is a maximum, not a guaranteed count. Valid range is 1-500 (default: 10, or the target API's per-batch maximum). The resolved value applied by the service is returned on read.

Returns:

  • (Integer)


80
81
82
83
84
85
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 80

class BatchConfiguration < Struct.new(
  :max_batch_size,
  :max_batch_window_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#max_batch_window_in_seconds ⇒ Integer

The maximum time in seconds to wait for a batch to fill before delivering it to the target. This is a maximum; a batch may be delivered sooner if it reaches MaxBatchSize or another delivery condition is met. Valid range is 0-300 (default: 0, meaning no wait). The resolved value applied by the service is always returned on read.

Returns:

  • (Integer)


80
81
82
83
84
85
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 80

class BatchConfiguration < Struct.new(
  :max_batch_size,
  :max_batch_window_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end