In the previous chapter, we learned how to build our first Lambda function with Go. We also learned how to invoke it manually from the console. To leverage the power of Lambda, in this chapter, we are going to learn how to trigger this Lambda function in response to incoming HTTP requests (event-driven architecture) using the AWS API Gateway service. At the end of this chapter, you will be familiar with API Gateway advanced topics such as resources, deployment stages, debugging, and much more.
We will be covering the following topics:
- Getting started with API Gateway
- Building a RESTful API