Lambda with Kinesis Event Source Mapping

Lambda Triggered by Kinesis Stream.

Event Source Config

Handle event in lambda function

The event argument received by lambda function:

event.Records.*.eventSourceARN can be used to determine source (which kinesis it is from).

event.Records.*.kinesis.data is actual streaming data, which is encoded, should be decoded to string:

Last updated

Was this helpful?