Skip to content

Instantly share code, notes, and snippets.

@jjblodgett
jjblodgett / lambda_handler.py
Created April 4, 2024 18:29 — forked from djg07/lambda_handler.py
DynamoDB Streams Lambda Handler
import json
print('Loading function')
def lambda_handler(event, context):
print('------------------------')
print(event)
#1. Iterate over each record
try:
for record in event['Records']: