From the course: AWS API Gateway with HTTP, Lambda, DynamoDB, and iOS
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Create an API for Lambda - Amazon Web Services (AWS) Tutorial
From the course: AWS API Gateway with HTTP, Lambda, DynamoDB, and iOS
Create an API for Lambda
- [Instructor] Now that we have the Lambda in place that's talking to the Dynamo DB table, I want to create the API for this Lambda, the API that will call into this Lambda passing the information and the Lambda can have the logic to store and retrieve data. So I could add this through the Lambda and it creates the stage for deploying at the same time. And I mostly just have to give it a name, like a lot of the other things that we've done. So in the Lambda dashboard here, I'm going to scroll up to the top and I see this add trigger button. So I'm going to click that and one of the options is going to be API gateway. So I'll just select that, great. And I am going to create a new API. I could use an existing one if I had one. I don't. I'm going to create a new one and it's going to be a rest API. For the security I'm going to use IAM. So as long as it's logged in and has permissions, everything's fine. And that's it. I don't have to set anything else. I'm going to click add on this…
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.