All Lambda event source mappings share the same CreateEventSourceMapping and UpdateEventSourceMapping API operations. However, only some of the parameters apply to Kinesis.
Parameter | Required | Default | Notes |
---|---|---|---|
N |
100 |
Maximum: 10,000 |
|
N |
false |
none | |
N |
N/A |
Amazon SQS queue or Amazon SNS topic destination for discarded records. For more information, see Configuring destinations for failed invocations. |
|
N |
true |
none | |
Y |
N/A |
ARN of the data stream or a stream consumer |
|
Y |
N/A | none | |
N |
N/A |
To let your function report specific failures in a batch, include the value
|
|
N |
0 |
none | |
N |
-1 |
-1 means infinite: Lambda doesn't discard records (Kinesis Data Streams data retention settings still apply) Minimum: -1 Maximum: 604,800 |
|
N |
-1 |
-1 means infinite: failed records are retried until the record expires Minimum: -1 Maximum: 10,000 |
|
N |
1 |
Maximum: 10 |
|
Y |
N/A |
AT_TIMESTAMP, TRIM_HORIZON, or LATEST |
|
N |
N/A |
Only valid if StartingPosition is set to AT_TIMESTAMP. The time from which to start reading, in Unix time seconds |
|
N |
N/A |
Minimum: 0 Maximum: 900 |