| Package | Description |
|---|---|
| software.amazon.awscdk.services.lambda.eventsources |
AWS Lambda Event Sources
|
| Modifier and Type | Method and Description |
|---|---|
DynamoEventSource.Builder |
DynamoEventSource.Builder.batchSize(Number batchSize)
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.bisectBatchOnError(Boolean bisectBatchOnError)
If the function returns an error, split the batch in two and retry.
|
static DynamoEventSource.Builder |
DynamoEventSource.Builder.create(ITable table) |
DynamoEventSource.Builder |
DynamoEventSource.Builder.enabled(Boolean enabled)
If the stream event source mapping should be enabled.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.filters(List<? extends Map<String,? extends Object>> filters)
Add filter criteria option.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.maxBatchingWindow(Duration maxBatchingWindow)
The maximum amount of time to gather records before invoking the function.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.maxRecordAge(Duration maxRecordAge)
The maximum age of a record that Lambda sends to a function for processing.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.onFailure(IEventSourceDlq onFailure)
An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.parallelizationFactor(Number parallelizationFactor)
The number of batches to process from each shard concurrently.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.reportBatchItemFailures(Boolean reportBatchItemFailures)
Allow functions to return partially successful responses for a batch of records.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.retryAttempts(Number retryAttempts)
Maximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.startingPosition(StartingPosition startingPosition)
Where to begin consuming the stream.
|
DynamoEventSource.Builder |
DynamoEventSource.Builder.tumblingWindow(Duration tumblingWindow)
The size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.
|
Copyright © 2022. All rights reserved.