@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.569Z") @Stability(value=Experimental) 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()
(experimental) The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
default Boolean |
getBisectBatchOnError()
(experimental) If the function returns an error, split the batch in two and retry.
|
default Boolean |
getEnabled()
(experimental) If the stream event source mapping should be enabled.
|
default Duration |
getMaxBatchingWindow()
(experimental) The maximum amount of time to gather records before invoking the function.
|
default Duration |
getMaxRecordAge()
(experimental) The maximum age of a record that Lambda sends to a function for processing.
|
default IEventSourceDlq |
getOnFailure()
(experimental) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
default Number |
getParallelizationFactor()
(experimental) The number of batches to process from each shard concurrently.
|
default Number |
getRetryAttempts()
(experimental) Maximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.
|
StartingPosition |
getStartingPosition()
(experimental) Where to begin consuming the stream.
|
default Duration |
getTumblingWindow()
(experimental) The size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.
|
@Stability(value=Experimental) @NotNull StartingPosition getStartingPosition()
@Stability(value=Experimental) @Nullable default Number getBatchSize()
Your function receives an event with all the retrieved records.
Valid Range:
Default: 100
@Stability(value=Experimental) @Nullable default Boolean getBisectBatchOnError()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
Default: true
@Stability(value=Experimental) @Nullable default Duration getMaxBatchingWindow()
Maximum of Duration.minutes(5)
Default: Duration.seconds(0)
@Stability(value=Experimental) @Nullable default Duration getMaxRecordAge()
Valid Range:
Default: - the retention period configured on the stream
@Stability(value=Experimental) @Nullable default IEventSourceDlq getOnFailure()
Default: discarded records are ignored
@Stability(value=Experimental) @Nullable default Number getParallelizationFactor()
Valid Range:
Default: 1
@Stability(value=Experimental) @Nullable default Number getRetryAttempts()
Default: - retry until the record expires
@Stability(value=Experimental) @Nullable default Duration getTumblingWindow()
Default: - None
@Stability(value=Experimental) static StreamEventSourceProps.Builder builder()
StreamEventSourceProps.Builder of StreamEventSourcePropsCopyright © 2021. All rights reserved.