Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import json
- def handler(event, context):
- import os
- files_and_folders = os.listdir()
- return {
- "headers": {"Content-Type": "application/json"},
- "statusCode": 200,
- "body": json.dumps(
- {
- "message": "Lambda Container image invoked!",
- "event": event,
- "context": context,
- "files_and_folders": files_and_folders,
- }
- ),
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement