From the course: Learning Amazon Web Services Lambda
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Add API Gateway as a trigger to Lambda - Amazon Web Services (AWS) Tutorial
From the course: Learning Amazon Web Services Lambda
Add API Gateway as a trigger to Lambda
- [Instructor] Let's go back now to the AWS Management Console, to the lambda that we previously created. We created a function without a trigger. So let's add one. To add a trigger, basically just click on the add trigger. Then you can select a source. Here you can see all the different services that can trigger a Lambda function, the list is very long and let's stay on the top and pick API gateway. Then we'll create a new API and then we are leaving the security open. That means that we don't require any authentication in order to access it. Let's add this API gateway. Now that the API gateway is ready, we can click on it and we will see the configuration for it. If we click on the endpoint, we'll see the message that the API gateway sends when we invoke the Lambda. "Hello from Lambda!" Then if we click this my lambda function API, it will take us to the AWS resource for this API gateway in particular. So here…
Contents
-
-
-
-
-
(Locked)
Create your first AWS Lambda3m 21s
-
(Locked)
AWS Lambda function triggers2m 44s
-
(Locked)
Introduction to API Gateway2m 38s
-
(Locked)
Add API Gateway as a trigger to Lambda4m 13s
-
(Locked)
Test your function with Postman2m 34s
-
(Locked)
Monitor your function with CloudWatch metrics3m 7s
-
(Locked)
Adding CloudWatch Logs3m 52s
-
(Locked)
Challenge39s
-
(Locked)
Solution2m 17s
-
(Locked)
-
-
-