diff --git a/setup.py b/setup.py index b052d84..a50b66c 100644 --- a/setup.py +++ b/setup.py @@ -13,10 +13,10 @@ extra_reqs = { "deploy": [ - "aws-cdk.core==1.76.0", - "aws-cdk.aws_lambda==1.76.0", - "aws-cdk.aws_apigatewayv2==1.76.0", - "aws-cdk.aws_apigatewayv2_integrations==1.76.0", + "aws-cdk.core==1.160.0", + "aws-cdk.aws_lambda==1.160.0", + "aws-cdk.aws_apigatewayv2==1.160.0", + "aws-cdk.aws_apigatewayv2_integrations==1.160.0", ], "test": ["pytest", "pytest-cov", "pytest-asyncio", "requests"], } diff --git a/stack/app.py b/stack/app.py index 2910b0b..7649fac 100644 --- a/stack/app.py +++ b/stack/app.py @@ -82,7 +82,8 @@ def __init__( api = apigw.HttpApi( self, f"{id}-endpoint", - default_integration=apigw_integrations.LambdaProxyIntegration( + default_integration=apigw_integrations.HttpLambdaIntegration( + id=f"{id}-endpoint-lambda", handler=lambda_function ), )