I have a Lambda that is being triggered by a DynamoDB stream. The Lambda does some processing and then creates a notification on a topic in SNS. Ideally I would like to includ
Using TypeDeserializer
didn't work for me for some reason. This utility did, however:
https://github.com/Alonreznik/dynamodb-json
Those not wanting to deal with emulating pip install
inside a Lambda function, you can just copy and paste this source file (containing the loads()
function) into your own code:
https://github.com/Alonreznik/dynamodb-json/blob/master/dynamodb_json/json_util.py