Attach a Custom Lambda Authorizer to existing ApiGW Resource Method #23116
Unanswered
msciortino
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a stack which defines a RestApi with a Proxy Resource on a certain path.
In another stack I have a Cognito UserPool and I've created a Custom Authorizer Lambda and I want to attach it to existing ProxyResource of the first stack RestApi.
I'm able to retrieve the aws_apigateway.ProxyResource by using ProxyResource.from_resource_attributes method but I don't understand how to add my Custom Authorizer to its default_integration.
Is this possible in any way?
Beta Was this translation helpful? Give feedback.
All reactions