From the course: Complete Guide to Serverless Web App Development on AWS
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Challenge: Add and test a function with API to your project - Amazon Web Services (AWS) Tutorial
From the course: Complete Guide to Serverless Web App Development on AWS
Challenge: Add and test a function with API to your project
(upbeat music) - [Instructor] It is time to put your new skills to a test with the first challenge. Through this course, you will face a series of challenge. Some are required to continue, while others are optional for extra practice. Don't worry, if you get stuck, you can always find the solution in the next video. Here is what you need to do in this challenge. First, create a new Lambda function. Name it, very originally, "NewFunction." Use Node 20 as the runtime, or whatever node is available in the time you're watching this recording. And write the function in TypeScript. Next, attach the function to an API gateway. Set up a new API gateway and link it to your Lambda function. You can choose any path for the endpoint. Then deploy everything to the cloud. Finally, test this app. Call the new API gateway endpoint and make sure the function runs as expected. Take your time and give it a try. When you're ready, I will see you in the next video with the solution. Good luck.
Contents
-
-
-
The importance of infrastructure as code3m 44s
-
(Locked)
Understanding AWS CDK3m 37s
-
(Locked)
Advantages of AWS CDK3m 53s
-
(Locked)
Installing and configuring AWS CDK6m 19s
-
(Locked)
Building your first project with AWS CDK4m 46s
-
(Locked)
Creating and deploying a Lambda function with API Gateway using CDK7m 7s
-
(Locked)
Challenge: Add and test a function with API to your project1m 10s
-
(Locked)
Solution: Add and test a function with API to your project2m 57s
-
-
-
-
-
-
-
-
-