1 回答
- 最新
- 投票最多
- 评论最多
3
Yes, if you configure your DynamoDB Stream to emit NEW_AND_OLD_IMAGES
then the Lambda can see the before and after of the update. You will then have to decide in your application logic which values where changed by comparing the OLD_IMAGE
to the NEW_IMAGE
相关内容
- AWS 官方已更新 2 年前
To maybe add to that: the way we do this comparison is by using jsonpatch which is a standardized way of representing the diff between two JSON objects. It is also available in a lot of languages.