Deploying the Lambda function for API execution
In this section, we will have a look at the steps to deploy the Lambda function:
- The details of the
GET
method can also be seen on the right-hand side of the API console, when you click on that method. The details look as follows:

- In the
GET
method console, click on theLambda Function
option. Select any one region depending on your preference. I have chosenus-east-1
as the region as shown in the following screenshot:

- As expected, it says we do not have a Lambda function in that region. So, we need to go ahead and create one. Click on the
Create a Lambda Function
link. This will take you to the Lambda creation console which we are already comfortable with:

- From here, choose the
keyword : hello-world-python

- In the next console, choose the basic information for the Lambda function as we have done in the previous chapters:

- After adding the relevant details, click on the orange
Create function
button. That will...