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. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@rkulagowski - this already works via the APIGatewayHttpResolver |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Closing as this was launched back then: https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#lambda-function-url |
Beta Was this translation helpful? Give feedback.
Closing as this was launched back then: https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/#lambda-function-url