@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:59.877Z") public interface DynamoEventSourceProps extends StreamEventSourceProps
import software.amazon.awscdk.services.dynamodb.*; import software.amazon.awscdk.services.lambda.eventsources.DynamoEventSource; import software.amazon.awscdk.services.lambda.eventsources.SqsDlq; Table table; Function fn; Queue deadLetterQueue = new Queue(this, "deadLetterQueue"); fn.addEventSource(DynamoEventSource.Builder.create(table) .startingPosition(StartingPosition.TRIM_HORIZON) .batchSize(5) .bisectBatchOnError(true) .onFailure(new SqsDlq(deadLetterQueue)) .retryAttempts(10) .build());
Modifier and Type | Interface and Description |
---|---|
static class |
DynamoEventSourceProps.Builder
A builder for
DynamoEventSourceProps |
static class |
DynamoEventSourceProps.Jsii$Proxy
An implementation for
DynamoEventSourceProps |
Modifier and Type | Method and Description |
---|---|
static DynamoEventSourceProps.Builder |
builder() |
getBisectBatchOnError, getMaxRecordAge, getOnFailure, getParallelizationFactor, getReportBatchItemFailures, getRetryAttempts, getTumblingWindow
getBatchSize, getEnabled, getMaxBatchingWindow, getStartingPosition
static DynamoEventSourceProps.Builder builder()
builder
in interface BaseStreamEventSourceProps
builder
in interface StreamEventSourceProps
DynamoEventSourceProps.Builder
of DynamoEventSourceProps