Reputation: 7601
Is it possible to have a wildcard route defined and have the uri passed to the lambda for processing?
Upvotes: 2
Views: 2072
Reputation: 3622
You can do this by creating a proxy resource in API Gateway with a greedy path variable {proxy+}
in resource path. The event object in the lambda used for integration should get the actual path
which you can then process.
This blog post here describes how to do it.
Upvotes: 2