Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple DynamoDB triggers for Lambda - Separate invocation per table?

If I have a Lambda function that has multiple DynamoDB Stream triggers, is it guaranteed that each Lambda invocation only contains records from one table?

like image 449
ffcm Avatar asked Aug 27 '26 20:08

ffcm


1 Answers

Yes. Each lambda invocation will get record from one table

Refer Using AWS Lambda with Amazon DynamoDB

Following is an extract from that web page

The event your Lambda function receives is the table update information AWS Lambda reads from your stream. When you configure event source mapping, the batch size you specify is the maximum number of records that you want your Lambda function to receive per invocation.

like image 109
Arafat Nalkhande Avatar answered Aug 30 '26 11:08

Arafat Nalkhande



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!