@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.509Z") @Stability(value=Stable) public interface DynamoEventSourceProps extends software.amazon.jsii.JsiiSerializable, StreamEventSourceProps
import software.amazon.awscdk.services.lambda.eventsources.*;
import software.amazon.awscdk.services.dynamodb.*;
Function fn;
Table table = Table.Builder.create(this, "Table")
.partitionKey(Attribute.builder()
.name("id")
.type(AttributeType.STRING)
.build())
.stream(StreamViewType.NEW_IMAGE)
.build();
fn.addEventSource(DynamoEventSource.Builder.create(table)
.startingPosition(StartingPosition.LATEST)
.filters(List.of(Map.of("eventName", FilterRule.isEqual("INSERT"))))
.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, getFilters, 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.