text: Serverless 
  
  **Greedy path variables**
  
  If you want to handle the routing implementation outside of API Gateway, for example inside a 
  
  Lambda function, you can use a greedy path variable in the form of a proxy resource {proxy+} to 
  match all the child resources of a route for both HTTP and REST APIs. 
  
  Here are two examples of using greedy path variables: 
  
  • Use /{proxy+} to match both /users and /users/{UserID} routes 
  • Use the ANY method for a /{proxy+} resource at the root of your API to match all HTTP method 
  
  types 