PipeSourceParametersKinesisStreamParameters constructor

const PipeSourceParametersKinesisStreamParameters({
  1. Input<int?>? batchSize,
  2. Input<PipeSourceParametersKinesisStreamParametersDeadLetterConfig?>? deadLetterConfig,
  3. Input<int?>? maximumBatchingWindowInSeconds,
  4. Input<int?>? maximumRecordAgeInSeconds,
  5. Input<int?>? maximumRetryAttempts,
  6. Input<String?>? onPartialBatchItemFailure,
  7. Input<int?>? parallelizationFactor,
  8. required Input<String> startingPosition,
  9. Input<String?>? startingPositionTimestamp,
})

Creates a new PipeSourceParametersKinesisStreamParameters. batchSize The maximum number of records to include in each batch. Maximum value of 10000. deadLetterConfig Define the target queue to send dead-letter queue events to. Detailed below. maximumBatchingWindowInSeconds The maximum length of a time to wait for events. Maximum value of 300. maximumRecordAgeInSeconds 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. Maximum value of 604,800. maximumRetryAttempts 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. Maximum value of 10,000. onPartialBatchItemFailure 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. Valid values: AUTOMATIC_BISECT. parallelizationFactor The number of batches to process concurrently from each shard. The default value is 1. Maximum value of 10. startingPosition The position in a stream from which to start reading. Valid values: TRIM_HORIZON, LATEST. startingPositionTimestamp With StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in Unix time seconds.

Implementation

const PipeSourceParametersKinesisStreamParameters({
  this.batchSize,
  this.deadLetterConfig,
  this.maximumBatchingWindowInSeconds,
  this.maximumRecordAgeInSeconds,
  this.maximumRetryAttempts,
  this.onPartialBatchItemFailure,
  this.parallelizationFactor,
  required this.startingPosition,
  this.startingPositionTimestamp,
});