kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch21/serverless/todo-audit/audit.py

3 lines
125 B
Python
Raw Normal View History

def handler(event, context):
print(f"AUDIT @ {event['data']['Item']['DateAdded']}: {event['data']['Item']['Item']}")