Replies: 1 comment 2 replies
-
@waldoc89, have you managed to find a solution since then? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Assigning a lambda
Function
object to aHttpLambdaIntegration
"handler" returns this error:Seems like it's expecting to get an
IFunction
, which contradicts whatever is stated in the docs (first example "Defining HTTP APIs"):https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_apigatewayv2/README.html
or
https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_apigatewayv2_integrations/README.html
Both "aws_apigatewayv2_integrations_alpha"(2.63.2a0) and "aws_apigatewayv2_integrations" (1.192.0) returns the same error.
while "aws-api-gatewayv2_integrations" highlights some other errors such as:
error:
^ this what made me move forward with the "_alpha" version.
but this is the main part issue:
EDIT: I might have found the issue. I opened the project using pycharm (I usually use vscode) and was surprised to see this not highlighted! So i guess it's an env issue (?) although the env is configured properly within vscode. So if there's any solution for this, i will be happy to hear since my prefered ide is vscode.
Beta Was this translation helpful? Give feedback.
All reactions