Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to have triggers (like SQL triggers) in DynamoDB?

I would like to have an action triggered every time an item is created or updated on a DynamoDB. I have been going through the doc, but cannot find anything like this. Is it possible?

Thanks.

like image 392
Yves Dorfsman Avatar asked Jan 20 '26 06:01

Yves Dorfsman


2 Answers

This is not possible. DynamoDB doesn't let you run any code server-side. The only thing which might count as server-side actions as part of an update are conditional updates, but those can't trigger changes to other items.

like image 110
Cory Kendall Avatar answered Jan 23 '26 17:01

Cory Kendall


The new update supports triggers.

https://aws.amazon.com/blogs/aws/dynamodb-update-triggers-streams-lambda-cross-region-replication-app/

like image 36
TOP Avatar answered Jan 23 '26 17:01

TOP