I'm using a dynamodb stream to trigger a lambda function. On invocation the lambda function looks for three fields from the dynamodb event.
ID (PK) Name Location
When my Lambda receives a MODIFY event all three of these fields are populated. However, when it receives an INSERT event only id is populated. I can always query again for the rest of the fields, but why aren't they populated when I receive the event?
DynamoDB stream is set to "newimage", if it matters I am adding new items through the console. I'm also noticing that if I try to update those items later on the event type is still "INSERT"