Uses of Class
software.amazon.awscdk.services.lambda.eventsources.KinesisEventSource.Builder
-
Uses of KinesisEventSource.Builder in software.amazon.awscdk.services.lambda.eventsources
Modifier and TypeMethodDescriptionThe largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.KinesisEventSource.Builder.bisectBatchOnError
(Boolean bisectBatchOnError) If the function returns an error, split the batch in two and retry.static KinesisEventSource.Builder
If the stream event source mapping should be enabled.KinesisEventSource.Builder.filterEncryption
(IKey filterEncryption) Add Customer managed KMS key to encrypt Filter Criteria.Add filter criteria option.KinesisEventSource.Builder.maxBatchingWindow
(Duration maxBatchingWindow) The maximum amount of time to gather records before invoking the function.KinesisEventSource.Builder.maxRecordAge
(Duration maxRecordAge) The maximum age of a record that Lambda sends to a function for processing.KinesisEventSource.Builder.metricsConfig
(MetricsConfig metricsConfig) Configuration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source.KinesisEventSource.Builder.onFailure
(IEventSourceDlq onFailure) An Amazon SQS queue or Amazon SNS topic destination for discarded records.KinesisEventSource.Builder.parallelizationFactor
(Number parallelizationFactor) The number of batches to process from each shard concurrently.KinesisEventSource.Builder.provisionedPollerConfig
(ProvisionedPollerConfig provisionedPollerConfig) Configuration for provisioned pollers that read from the event source.KinesisEventSource.Builder.reportBatchItemFailures
(Boolean reportBatchItemFailures) Allow functions to return partially successful responses for a batch of records.KinesisEventSource.Builder.retryAttempts
(Number retryAttempts) Maximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.KinesisEventSource.Builder.startingPosition
(StartingPosition startingPosition) Where to begin consuming the stream.KinesisEventSource.Builder.startingPositionTimestamp
(Number startingPositionTimestamp) The time from which to start reading, in Unix time seconds.KinesisEventSource.Builder.tumblingWindow
(Duration tumblingWindow) The size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.