New Lambda Function URL capability; router functionality? #1097
|
If I'd like to migrate from API Gateway to direct invocation, can I use one of the router functions (decorators) to send various HTTP methods to the appropriate function in my monolith? I don't want to add Flask if I don't have to. |
Answered by
heitorlessa
Jul 6, 2023
Replies: 3 comments 2 replies
|
@rkulagowski - this already works via the APIGatewayHttpResolver |
2 replies
|
We'll look into adding official support for Function URL as a new Resolver class after our pause - here's the feature request that we'd appreciate you giving a +1: #1142 In the meantime, Michael's answer should work. Function URL uses HTTP API payload v2 with minor/non-breaking changes. Thank you everyone |
0 replies
|
Closing as this was launched back then: https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#lambda-function-url |
0 replies
Answer selected by
heitorlessa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closing as this was launched back then: https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#lambda-function-url