Interface KinesisEventSourceProps
- All Superinterfaces:
BaseStreamEventSourceProps
,software.amazon.jsii.JsiiSerializable
,StreamEventSourceProps
- All Known Implementing Classes:
KinesisEventSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.830Z")
@Stability(Stable)
public interface KinesisEventSourceProps
extends software.amazon.jsii.JsiiSerializable, StreamEventSourceProps
Example:
import software.amazon.awscdk.services.kinesis.*; import software.amazon.awscdk.services.lambda.eventsources.KinesisEventSource; Function myFunction; Stream stream = new Stream(this, "MyStream"); myFunction.addEventSource(KinesisEventSource.Builder.create(stream) .batchSize(100) // default .startingPosition(StartingPosition.TRIM_HORIZON) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forKinesisEventSourceProps
static final class
An implementation forKinesisEventSourceProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.lambda.eventsources.BaseStreamEventSourceProps
getBatchSize, getEnabled, getMaxBatchingWindow, getStartingPosition
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.lambda.eventsources.StreamEventSourceProps
getBisectBatchOnError, getMaxRecordAge, getOnFailure, getParallelizationFactor, getReportBatchItemFailures, getRetryAttempts, getTumblingWindow
-
Method Details
-
builder
- Returns:
- a
KinesisEventSourceProps.Builder
ofKinesisEventSourceProps
-