Reputation: 2315
Say there is a client X, a proxy server Y (like API Gateway), and server Z (like a lambda function), and lambda proxy integration is enabled for the resource the client is connecting to.
Since X is intending to communicate with Z, but does not know about Z and must instead communicate with Y, who then communicates with Z, is Y acting like a reverse proxy in this scenario?
Upvotes: 0
Views: 686
Reputation: 2155
Yes, API Gateways (AWS or otherwise) in general are a type of reverse proxy.
Reverse proxies route requests from external clients to internal services, which is exactly what AWS API Gateway is doing in your scenario (see image below).
Image taken from this article, which gives a decent description of forward and reverse proxies (while plugging the publishers own products).
Upvotes: 1