From 2b66bd49e62e2eeddb8138157c4c4e2b6122b3bc Mon Sep 17 00:00:00 2001 From: "v.nair" Date: Wed, 17 Apr 2024 15:20:13 +0200 Subject: [PATCH] add comments --- deployment/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/app.py b/deployment/app.py index d51a08a..86b2d0a 100644 --- a/deployment/app.py +++ b/deployment/app.py @@ -13,7 +13,7 @@ def __init__(self, scope: Construct, id: str, memory: int = 1024, timeout: int = 30, - runtime: _lambda.Runtime = _lambda.Runtime.PYTHON_3_12, + runtime: _lambda.Runtime = _lambda.Runtime.PYTHON_3_11, #Set to 3.11 as the aws_cdk version does not have 3.12 concurrent: Optional[int] = None, environment: Optional[Dict] = None, code_dir:str = "/", @@ -35,7 +35,7 @@ def __init__(self, scope: Construct, reserved_concurrent_executions=concurrent, timeout=Duration.seconds(timeout), environment=environment, - log_retention=logs.RetentionDays.ONE_WEEK, #Honestly can be removed if required at this stage + log_retention=logs.RetentionDays.ONE_WEEK, #Honestly can be removed not sure if required at this stage ) api = apigatewayv2.HttpApi(