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.
Building your first project with AWS CDK - Amazon Web Services (AWS) Tutorial
From the course: Complete Guide to Serverless Web App Development on AWS
Building your first project with AWS CDK
- [Instructor] Now that you have your computer and AWS account ready, it's time to create your first project using AWS CDK. In this step, you create a new CDK project. A CDK project should be in its own directory with its own local module dependencies. So we'll start from starting directory of our choice and create a new directory named hello-cdk. So let's make that directory, and then let's get into the directory. From here, we can initialize a new CDK project using the CDK CLI tool. For that, we are going to use the command cdk init, and we need to specify the app and then the language that we want to work with. I will be using typescript. The CDK init command creates a structure of files and folders within the hello-cdk directory to help organize the source code for our application. This structure of files and folder is called your CDK project. So now, it's ready, and we can get into it. Let's take a moment to explore the project. During the project initialization, the CDK CLI…
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
-
-
-
-
-
-
-
-
-