David Alsh
David Alsh

Reputation: 7601

Lambda + API Gateway /**/* route?

Is it possible to have a wildcard route defined and have the uri passed to the lambda for processing?

Upvotes: 2

Views: 2072

Answers (1)

user818510
user818510

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

Related Questions