Class: Aws::Pipes::Types::PipeSourceDynamoDBStreamParameters

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#batch_sizeInteger

The maximum number of records to include in each batch.

Returns:

  • (Integer)


1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1663

class PipeSourceDynamoDBStreamParameters < Struct.new(
  :batch_size,
  :dead_letter_config,
  :maximum_batching_window_in_seconds,
  :maximum_record_age_in_seconds,
  :maximum_retry_attempts,
  :on_partial_batch_item_failure,
  :parallelization_factor,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#dead_letter_configTypes::DeadLetterConfig

Define the target queue to send dead-letter queue events to.



1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1663

class PipeSourceDynamoDBStreamParameters < Struct.new(
  :batch_size,
  :dead_letter_config,
  :maximum_batching_window_in_seconds,
  :maximum_record_age_in_seconds,
  :maximum_retry_attempts,
  :on_partial_batch_item_failure,
  :parallelization_factor,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_batching_window_in_secondsInteger

The maximum length of a time to wait for events.

Returns:

  • (Integer)


1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1663

class PipeSourceDynamoDBStreamParameters < Struct.new(
  :batch_size,
  :dead_letter_config,
  :maximum_batching_window_in_seconds,
  :maximum_record_age_in_seconds,
  :maximum_retry_attempts,
  :on_partial_batch_item_failure,
  :parallelization_factor,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_record_age_in_secondsInteger

(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.

Returns:

  • (Integer)


1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1663

class PipeSourceDynamoDBStreamParameters < Struct.new(
  :batch_size,
  :dead_letter_config,
  :maximum_batching_window_in_seconds,
  :maximum_record_age_in_seconds,
  :maximum_retry_attempts,
  :on_partial_batch_item_failure,
  :parallelization_factor,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_retry_attemptsInteger

(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.

Returns:

  • (Integer)


1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1663

class PipeSourceDynamoDBStreamParameters < Struct.new(
  :batch_size,
  :dead_letter_config,
  :maximum_batching_window_in_seconds,
  :maximum_record_age_in_seconds,
  :maximum_retry_attempts,
  :on_partial_batch_item_failure,
  :parallelization_factor,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#on_partial_batch_item_failureString

(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.

Returns:

  • (String)


1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1663

class PipeSourceDynamoDBStreamParameters < Struct.new(
  :batch_size,
  :dead_letter_config,
  :maximum_batching_window_in_seconds,
  :maximum_record_age_in_seconds,
  :maximum_retry_attempts,
  :on_partial_batch_item_failure,
  :parallelization_factor,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#parallelization_factorInteger

(Streams only) The number of batches to process concurrently from each shard. The default value is 1.

Returns:

  • (Integer)


1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1663

class PipeSourceDynamoDBStreamParameters < Struct.new(
  :batch_size,
  :dead_letter_config,
  :maximum_batching_window_in_seconds,
  :maximum_record_age_in_seconds,
  :maximum_retry_attempts,
  :on_partial_batch_item_failure,
  :parallelization_factor,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end

#starting_positionString

(Streams only) The position in a stream from which to start reading.

Returns:

  • (String)


1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/types.rb', line 1663

class PipeSourceDynamoDBStreamParameters < Struct.new(
  :batch_size,
  :dead_letter_config,
  :maximum_batching_window_in_seconds,
  :maximum_record_age_in_seconds,
  :maximum_retry_attempts,
  :on_partial_batch_item_failure,
  :parallelization_factor,
  :starting_position)
  SENSITIVE = []
  include Aws::Structure
end