From ce2288515aa52f61c389238100ba10fc50d6e4ae Mon Sep 17 00:00:00 2001 From: Rio Knightley Date: Tue, 20 Aug 2024 10:41:22 +0100 Subject: [PATCH] Instantiate edge presign handler --- lambdas/handlers/edge_presign_handler.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lambdas/handlers/edge_presign_handler.py b/lambdas/handlers/edge_presign_handler.py index cde868312..13fb7ff3b 100644 --- a/lambdas/handlers/edge_presign_handler.py +++ b/lambdas/handlers/edge_presign_handler.py @@ -15,3 +15,8 @@ def lambda_handler(event, context): request = event["Records"][0]["cf"]["request"] logger.info(json.dumps(request)) return request + + +# Capture requested URL +# Check DynamoDB for entry +# Forward the request / Reject the request