@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2021-01-12T21:08:35.610Z") @Stability(value=Stable) public interface StreamEventSourceProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
StreamEventSourceProps.Builder
A builder for
StreamEventSourceProps |
static class |
StreamEventSourceProps.Jsii$Proxy
An implementation for
StreamEventSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static StreamEventSourceProps.Builder |
builder() |
default Number |
getBatchSize()
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
default Boolean |
getBisectBatchOnError()
If the function returns an error, split the batch in two and retry.
|
default Boolean |
getEnabled()
If the stream event source mapping should be enabled.
|
default Duration |
getMaxBatchingWindow()
The maximum amount of time to gather records before invoking the function.
|
default Duration |
getMaxRecordAge()
The maximum age of a record that Lambda sends to a function for processing.
|
default IEventSourceDlq |
getOnFailure()
An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
default Number |
getParallelizationFactor()
The number of batches to process from each shard concurrently.
|
default Number |
getRetryAttempts()
Maximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.
|
StartingPosition |
getStartingPosition()
Where to begin consuming the stream.
|
@Stability(value=Stable) @NotNull StartingPosition getStartingPosition()
@Stability(value=Stable) @Nullable default Number getBatchSize()
Your function receives an event with all the retrieved records.
Valid Range:
Default: 100
@Stability(value=Stable) @Nullable default Boolean getBisectBatchOnError()
Default: false
@Stability(value=Stable) @Nullable default Boolean getEnabled()
Default: true
@Stability(value=Stable) @Nullable default Duration getMaxBatchingWindow()
Maximum of Duration.minutes(5)
Default: Duration.seconds(0)
@Stability(value=Stable) @Nullable default Duration getMaxRecordAge()
Valid Range:
Default: Duration.days(7)
@Stability(value=Stable) @Nullable default IEventSourceDlq getOnFailure()
Default: discarded records are ignored
@Stability(value=Stable) @Nullable default Number getParallelizationFactor()
Valid Range:
Default: 1
@Stability(value=Stable) @Nullable default Number getRetryAttempts()
Default: 10000
@Stability(value=Stable) static StreamEventSourceProps.Builder builder()
StreamEventSourceProps.Builder of StreamEventSourcePropsCopyright © 2021. All rights reserved.