AWS lamba function with DynamoDb. New image of item does not contain all fields

Viewed 2320

I am using AWS lambda function with DynamoDb. When I edit an item in dynamodb table, the lambda function is triggered.

When I receive the new image of the item with the event inside my lambda function, some of the fields are not present in the new image dict. I only get 3 fields, whereas my dynamodb table contains 6 fields. Why so?

3 Answers

I solved this by disabling and re-enabling the stream on the Dynamo Db via the Manage Stream

enter image description here

I fixed this by deleting and readding the stream on the lambda function.

Related