Class: Aws::Pipes::Types::PipeSourceDynamoDBStreamParameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pipes::Types::PipeSourceDynamoDBStreamParameters
- Defined in:
- gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb
Overview
The parameters for using a DynamoDB stream as a source.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#batch_size ⇒ Integer
The maximum number of records to include in each batch.
-
#dead_letter_config ⇒ Types::DeadLetterConfig
Define the target queue to send dead-letter queue events to.
-
#maximum_batching_window_in_seconds ⇒ Integer
The maximum length of a time to wait for events.
-
#maximum_record_age_in_seconds ⇒ Integer
(Streams only) Discard records older than the specified age.
-
#maximum_retry_attempts ⇒ Integer
(Streams only) Discard records after the specified number of retries.
-
#on_partial_batch_item_failure ⇒ String
(Streams only) Define how to handle item process failures.
-
#parallelization_factor ⇒ Integer
(Streams only) The number of batches to process concurrently from each shard.
-
#starting_position ⇒ String
(Streams only) The position in a stream from which to start reading.
Instance Attribute Details
#batch_size ⇒ Integer
The maximum number of records to include in each batch.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1746 class PipeSourceDynamoDBStreamParameters < Struct.new( :batch_size, :dead_letter_config, :on_partial_batch_item_failure, :maximum_batching_window_in_seconds, :maximum_record_age_in_seconds, :maximum_retry_attempts, :parallelization_factor, :starting_position) SENSITIVE = [] include Aws::Structure end |
#dead_letter_config ⇒ Types::DeadLetterConfig
Define the target queue to send dead-letter queue events to.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1746 class PipeSourceDynamoDBStreamParameters < Struct.new( :batch_size, :dead_letter_config, :on_partial_batch_item_failure, :maximum_batching_window_in_seconds, :maximum_record_age_in_seconds, :maximum_retry_attempts, :parallelization_factor, :starting_position) SENSITIVE = [] include Aws::Structure end |
#maximum_batching_window_in_seconds ⇒ Integer
The maximum length of a time to wait for events.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1746 class PipeSourceDynamoDBStreamParameters < Struct.new( :batch_size, :dead_letter_config, :on_partial_batch_item_failure, :maximum_batching_window_in_seconds, :maximum_record_age_in_seconds, :maximum_retry_attempts, :parallelization_factor, :starting_position) SENSITIVE = [] include Aws::Structure end |
#maximum_record_age_in_seconds ⇒ Integer
(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1746 class PipeSourceDynamoDBStreamParameters < Struct.new( :batch_size, :dead_letter_config, :on_partial_batch_item_failure, :maximum_batching_window_in_seconds, :maximum_record_age_in_seconds, :maximum_retry_attempts, :parallelization_factor, :starting_position) SENSITIVE = [] include Aws::Structure end |
#maximum_retry_attempts ⇒ Integer
(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1746 class PipeSourceDynamoDBStreamParameters < Struct.new( :batch_size, :dead_letter_config, :on_partial_batch_item_failure, :maximum_batching_window_in_seconds, :maximum_record_age_in_seconds, :maximum_retry_attempts, :parallelization_factor, :starting_position) SENSITIVE = [] include Aws::Structure end |
#on_partial_batch_item_failure ⇒ String
(Streams only) Define how to handle item process failures.
AUTOMATIC_BISECT
halves each batch and retry each half until all
the records are processed or there is one failed message left in the
batch.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1746 class PipeSourceDynamoDBStreamParameters < Struct.new( :batch_size, :dead_letter_config, :on_partial_batch_item_failure, :maximum_batching_window_in_seconds, :maximum_record_age_in_seconds, :maximum_retry_attempts, :parallelization_factor, :starting_position) SENSITIVE = [] include Aws::Structure end |
#parallelization_factor ⇒ Integer
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1746 class PipeSourceDynamoDBStreamParameters < Struct.new( :batch_size, :dead_letter_config, :on_partial_batch_item_failure, :maximum_batching_window_in_seconds, :maximum_record_age_in_seconds, :maximum_retry_attempts, :parallelization_factor, :starting_position) SENSITIVE = [] include Aws::Structure end |
#starting_position ⇒ String
(Streams only) The position in a stream from which to start reading.
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1746 class PipeSourceDynamoDBStreamParameters < Struct.new( :batch_size, :dead_letter_config, :on_partial_batch_item_failure, :maximum_batching_window_in_seconds, :maximum_record_age_in_seconds, :maximum_retry_attempts, :parallelization_factor, :starting_position) SENSITIVE = [] include Aws::Structure end |