| Modifier and Type | Method and Description |
|---|---|
EventSourceMapping.Builder |
EventSourceMapping.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.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.bisectBatchOnError(Boolean bisectBatchOnError)
If the function returns an error, split the batch in two and retry.
|
static EventSourceMapping.Builder |
EventSourceMapping.Builder.create(software.constructs.Construct scope,
String id) |
EventSourceMapping.Builder |
EventSourceMapping.Builder.enabled(Boolean enabled)
Set to false to disable the event source upon creation.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.eventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.kafkaBootstrapServers(List<String> kafkaBootstrapServers)
A list of host and port pairs that are the addresses of the Kafka brokers in a self managed "bootstrap" Kafka cluster that a Kafka client connects to initially to bootstrap itself.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.kafkaTopic(String kafkaTopic)
The name of the Kafka topic.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.maxBatchingWindow(Duration maxBatchingWindow)
The maximum amount of time to gather records before invoking the function.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.maxRecordAge(Duration maxRecordAge)
The maximum age of a record that Lambda sends to a function for processing.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.onFailure(IEventSourceDlq onFailure)
An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.parallelizationFactor(Number parallelizationFactor)
The number of batches to process from each shard concurrently.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.reportBatchItemFailures(Boolean reportBatchItemFailures)
Allow functions to return partially successful responses for a batch of records.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.retryAttempts(Number retryAttempts)
The maximum number of times to retry when the function returns an error.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.sourceAccessConfigurations(List<? extends SourceAccessConfiguration> sourceAccessConfigurations)
Specific settings like the authentication protocol or the VPC components to secure access to your event source.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.startingPosition(StartingPosition startingPosition)
The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.target(IFunction target)
The target AWS Lambda function.
|
EventSourceMapping.Builder |
EventSourceMapping.Builder.tumblingWindow(Duration tumblingWindow)
The size of the tumbling windows to group records sent to DynamoDB or Kinesis.
|
Copyright © 2023. All rights reserved.