Incorporating L2 CDK Constructs in an Application

Lab Steps

lock
Introducing Higher-Level AWS CDK L2 Constructs
lock
Setting up the AWS CDK Project
lock
Utilizing Higher-Level Layer 2 CDK Constructs

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyIntermediate
Time Limit1h
Students37
Ratings
5/5
starstarstarstarstar

Description

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 2 (L2) constructs in the AWS CDK Construct Library are considered higher-level constructs. These constructs abstract the more manual aspects of L1 CFN constructs and provide built-in defaults, helper methods, and infrastructure glue code to improve the usability of the CDK.

In this lab, you will work with an L2 CDK construct to learn how to implement these higher-level constructs 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:

  • Incorporate an L2 CDK construct in a CDK application
  • Utilize the AWS CDK v2 Toolkit to initialize, define, and deploy cloud resources

Intended Audience

  • Cloud Architects
  • DevOps Engineers
  • Software Engineers

Prerequisites

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

  • Layer 1 CDK Constructs
  • Python Programming
  • AWS CloudFormation
  • Amazon S3

The following content can be used to fulfill the prerequisite:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students18741
Labs59
Learning paths3

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.