From the course: Building Dynamic Websites using AWS Lambdas
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Routing requests to Lambda - Amazon Web Services (AWS) Tutorial
From the course: Building Dynamic Websites using AWS Lambdas
Routing requests to Lambda
- [Instructor] A brief interlude here before we get back into writing Lambda. I've mentioned a couple of times, the importance of understanding the request response model. It's going to be even more important now that we have to actually build out an API gateway. So here you see a browser going to an API gateway. That funny little icon is AWS's standard icon for API gateway and we have a resource called feedback. So when the feedback form, for example, is posted to the API gateway, it sends along the form content and the post request. Then the API gateway maps the URL that's sent to it to the correct resource, in this case, the feedback resource. This is part of why it's important to name your resources so that they will appear in the URL and be intuitive. So it goes to the API gateway, the API gateway says, "Oh, slash feedback? "That's my feedback resource. "Great, I know what to do with that." Then the feedback resource…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Setting up an API gateway6m 26s
-
(Locked)
Routing requests to Lambda3m 4s
-
(Locked)
Hello Lambda!7m 32s
-
(Locked)
Deploy your API gateway7m 16s
-
(Locked)
Enable Lambda proxy integration3m 35s
-
(Locked)
Challenge: Write a simple responder for a web request5m 52s
-
(Locked)
Solution: Write a simple responder for a web request4m 50s
-
-
-
-