Serverless Programming Cookbook
上QQ阅读APP看书,第一时间看更新

Lambda and API with proxy integration

In this recipe, we will configure our API to act as a proxy for a Lambda. We will create a new Lambda function that extracts the required data from the incoming request. While using proxy integration, Lambda needs to implement the low-level RequestStreamHandler that gives us access to the InputStream and OutputStream