AWS Cloud Development Kit (CDK) Crash Course

Ecommerce Empire Academy

Learn how to use the AWS Cloud Development Kit (CDK) in this tutorial. The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define your cloud application resources using familiar programming languages. We'll go over the basics, do the CDK Workshop and then talk about some advanced features of CDK.

✏️ Matt Martz created this course. He is an engineer, AWS Community Builder, and CDK fanboi.
πŸ”— Twitter:
πŸ”— Blog:
πŸ”— Landing Page / Social:

⭐️ Course Contents ⭐️
⌨️ (00:00) CDK Crash Course Intro
⌨️ (01:13) What we'll cover
⌨️ (02:34) Resources [1, 2, 3, 4]
⌨️ (03:07) CDK Basics [5]
⌨️ (07:34) What are CDK Constructs? [6, 7, 8, 9, 10]
⌨️ (10:15) Level 3 Construct Examples [11, 12, 13]
⌨️ (12:08) Synthesis, Assets, Bootstrapping and Deploy [5]
⌨️ (14:53) CDK Workshop Speedrun – Cloud9 Prep [14, 15]
⌨️ (21:01) CDK Workshop Speedrun – New Project [14]
⌨️ (28:02) CDK Workshop Speedrun – Hello, CDK [14]
⌨️ (35:42) CDK Workshop Speedrun – Writing Constructs [14]
⌨️ (42:26) CDK Workshop Speedrun – Using Construct Libraries [14]
⌨️ (44:14) CDK Workshop Speedrun – Testing Constructs [14]
⌨️ (48:51) Advanced CDK [16, 17, 18, 2, 19, 20]
⌨️ (59:32) More Resources and Thanks! [21, 22, 23]

⭐️ References ⭐️
CDK Developer Guide:
[1] CDK Slack:
[2] The CDK Book:
[3] CDKDay:
[4] CDKDay talk: Creating Verifiable JSON Web Tokens with AWS CDK
[5] App Lifecycle:
[6] CDK API Reference:
[7] Access Analyzer L1 Construct:
[8] Access Analyzer CloudFormation API:
[9] DynamoDB Table L2 Construct:
[10] DynamoDB Table CloudFormation API:
[12] AWS Solutions Constructs:
[13] Construct Hub:
[14] CDK Workshop:
[15] Cross-account CI/CD Pipeline with CDK Pipelines:
[16] CloudFormation Custom Resources:
[17] CDK Provider Framework:
[18] Testing the Async Cloud with AWS CDK:
[19] CDK Aspects:
[20] Best Practices:
[21] freeCodeCamp: AWS CDK v2 Tutorial:
[22] OpenAPI Specs Without Deploying First:
[23] Serverless Stack Framework:

πŸŽ‰ Thanks to our Champion and Sponsor supporters:
πŸ‘Ύ Raymond Odero
πŸ‘Ύ AgustΓ­n Kussrow
πŸ‘Ύ aldo ferretti
πŸ‘Ύ Otis Morgan
πŸ‘Ύ DeezMaster

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:

27 thoughts on “AWS Cloud Development Kit (CDK) Crash Course”


    Great video Sir, it will be of great help if Freecode camp can please kindly make courses related to Azure,AWS with free certificate of completion from Freecode camp just like there awesome free programming certification courses

  2. This is great. Please provide info where we can find more content than this crash course. ThanksπŸ”₯fCC!

    1. Can you help me sir?

      Not Found The requested URL was not found on this server. Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/8.0.9 Server at localhost Port 80

      Localhost problem πŸ˜’πŸ˜“

    2. Liam Converse

      So the advantage of using this over the AWS management console is seen when a developer is creating the same or similar resources over and over again, and can start to just re-use code and intelli-sense? Is that correct?

    3. @Liam Converse That’s the start… once you get more advanced into it you can do a lot more powerful things (combinations of resources / Level 3 constructs are crazy good)

    4. Liam Converse

      @martzcodes Okay thanks, I’ve never worked for a company in a DevOps role I’ve just hosted a few of my own projects on AWS with EC2 and RDS. It seemed like the cheapest option for what I was doing but I suppose if I refactored the server code to run on Lambda it could be a bit cheaper, something I could put on my resume at least.
      At first I didn’t get what the point of cdk is, but now that I’m learning about lambda it does actually seem like a very good way to develop serverless web apps.

  3. The Last Minute Trade

    AWS is leading future of technology..
    Who else love AWS or similar πŸ€‘πŸ˜πŸ˜

    1. CDK is built on top of CloudFormation. I think it’s useful to learn both. There are times when troubleshooting deployments that you need to see what CloudFormation is doing (less frequent now that CDK is stable but still good to know what it’s capable of / doing)

  4. Dominik Piekarczyk

    Matt, you need to start your ToC with (00:00), otherwise the video will not split into chapters. Cheers!

  5. almost every peace of content i watch on youtube is somehow related to programming or tech and yet I never get freeCodecamp videos recommended to me on the home page I wonder why that is . am I the only one

  6. Hey really great video but can u please make video on making Facemash clone please that would help us alot

  7. Hi Matt, great course! 41:50, may I ask what is the ‘props’? Should it be the DynamoDB table (i.e. ‘table’ ) to invoke Lambda? Thanks in advance!

    1. props was passed in to the constructor of the HitCounter class… in that case it was using the downstream lambda that was being passed in from elsewhere in the stack

  8. Clayton Blythe

    Really excited for how this can improve developer velocity as well as allow for better testing of Infrastructure as Code. However, visually it seems messier and less organized than Terraform in my opinion.

    Overall it is a good option to consider

  9. i did my stack this way too and ended up with 400 lines of spaghetti code. how do you separate the elements of the stack into different files for readability?

Comments are closed.