@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:19.768Z") @Stability(value=Stable) public interface DynamoEventSourceProps extends software.amazon.jsii.JsiiSerializable, 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, getTumblingWindowgetBatchSize, getEnabled, getMaxBatchingWindow, getStartingPosition@Stability(value=Stable) static DynamoEventSourceProps.Builder builder()
builder in interface BaseStreamEventSourcePropsbuilder in interface StreamEventSourcePropsDynamoEventSourceProps.Builder of DynamoEventSourcePropsCopyright © 2022. All rights reserved.