Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Temporarily disable DynamoDB Lambda Triggers / Stream

I'm looking for a way to temporarily disable Lambda triggers on a DynamoDB. I want to be able do apply manual Updates on a table (e.g. such as importing data from a S3 backup) without the Lambda code being triggers. I tried the disable button next to the trigger in the lambda functions "Trigger" tab. I also tried to disable the whole Stream for the table. In both cases, when reactivating the trigger/stream all the trigger events (that happened, while they were deactivated) are executed then.

How can i prevent this code being triggered?

Thank you very much!

like image 939
weka1 Avatar asked Mar 03 '26 03:03

weka1


1 Answers

For others that arrive at this answer - https://alestic.com/2015/11/aws-lambda-kinesis-pause-resume/ provides a CLI solution for pausing stream reading, and resuming from the same place at some point in the future.

like image 174
Craig Blaszczyk Avatar answered Mar 05 '26 19:03

Craig Blaszczyk



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!