hands-on lab

Implementing AWS Solution Patterns with L3 CDK Constructs

Up to 1h
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


AWS CDK constructs can represent single AWS services as well as higher-level abstractions that consist of multiple, related resources. These constructs can be found in the AWS Constructs Library and are organized into three layers.

Layer 3 (L3) resources are also referred to as Solution Constructs. Solution constructs are open-source extensions of AWS CDK constructs. These solutions provide well-architected patterns for a variety of common infrastructure use cases. The goal of L3 solution constructs is to accelerate the developer's experience as they build out their applications.

In this lab, you will work with an L3 CDK construct to learn how to implement predictable and repeatable patterns into your applications.

Important: This hands-on lab uses the latest AWS CDK v2. For hands-on labs and challenges that use the AWS CDK v1, refer to the Get Hands-on with the AWS Cloud Development Kit (CDK v1) learning path.

Learning Objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Implement an L3 CDK construct in a CDK application
  • Utilize the AWS CDK v2 Toolkit to initialize and configure cloud resources

Intended Audience

  • Cloud Architects
  • DevOps Engineers
  • Software Engineers


Familiarity with the following will be beneficial but is not required:

  • Layer 1 and Layer 2 CDK Constructs
  • Python Programming
  • AWS CloudFormation
  • Amazon S3
  • Amazon SQS

The following content can be used to fulfill the prerequisite:


April 17th, 2024 - Resolved IAM permission issue

August 16th, 2023 - Remove Node deprecation warning and updated CDK CLI version

March 13th, 2023 - Enabled autosave in the lab's browser IDE

Environment before

Environment after

About the author

Jun Fritz, opens in a new tab
Cloud Labs Developer
Learning paths

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics

Lab steps

Introducing AWS CDK L3 Pattern Constructs
Setting up the AWS CDK Project
Implementing a Layer 3 CDK Pattern Construct