- API Gateway
Defining API gateway so external services can interact with Lambda.
We'll cover the following
API gateway
So far, we’ve invoked the function only using the built-in test functionality of Lambda.
In order to host the function so that other services can interact with the function, we’ll need to define an API Gateway in the Lambda console.
- Under the “Function Overview” tab, click “Add Trigger”.
- Select “API Gateway”.
- Select “Create a new API”. Use the “REST API”.
- Choose “Open” as the security setting.
After setting up the trigger, an API Gateway should be visible in the Designer layout, as shown in the figure below:
Get hands-on with 1200+ tech skills courses.