Interface DynamoEventSourceProps
- All Superinterfaces:
BaseStreamEventSourceProps
,software.amazon.jsii.JsiiSerializable
,StreamEventSourceProps
- All Known Implementing Classes:
DynamoEventSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:00.714Z")
@Stability(Stable)
public interface DynamoEventSourceProps
extends software.amazon.jsii.JsiiSerializable, StreamEventSourceProps
Example:
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) .metricsConfig(MetricsConfig.builder() .metrics(List.of(MetricType.EVENT_COUNT)) .build()) .build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forDynamoEventSourceProps
static final class
An implementation forDynamoEventSourceProps
-
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.lambda.eventsources.BaseStreamEventSourceProps
getBatchSize, getEnabled, getMaxBatchingWindow, getProvisionedPollerConfig, getStartingPosition
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.lambda.eventsources.StreamEventSourceProps
getBisectBatchOnError, getFilterEncryption, getFilters, getMaxRecordAge, getMetricsConfig, getOnFailure, getParallelizationFactor, getReportBatchItemFailures, getRetryAttempts, getTumblingWindow
-
Method Details
-
builder
- Returns:
- a
DynamoEventSourceProps.Builder
ofDynamoEventSourceProps
-