Hands-on emulator lab · 6–10 min
Deploy a CDK-generated plan — AWS CDK and CloudFormation
Deploy a template generated by CDK and set its practice purpose parameter.
These actions use an isolated AWS Emulator. It stores API state locally; it does not create paid cloud resources or run the full hosted AWS service.
Your goal
Deploy a template generated by CDK and set its practice purpose parameter.
Why this matters
CDK turns infrastructure code into a CloudFormation template. You will inspect actual CDK-generated output and deploy it with a chosen parameter. The browser does not execute arbitrary infrastructure code.
Words you will use
A construct is a reusable CDK building block. Synthesis turns CDK code into a CloudFormation template. A parameter supplies a value when deploying that template. A stack tracks the deployed plan.
How to proceed
Start a fresh emulator, read each numbered step, and enter the practice settings shown. Run the action, inspect its API receipt, then continue. Finish lab checks the emulator state again before saving your progress.
1. Inspect the generated template
Validate a checked-in template produced by AWS CDK 2.276.0 from the example in this repository. It describes a versioned bucket and a Purpose parameter. This lab uses that real synthesis output; it does not execute code typed into the browser.
2. Deploy with your purpose label
Choose the Purpose parameter and create the stack from the generated template. CDK normally synthesizes a CloudFormation template before deployment. Here you practice deploying and inspecting that output in the emulator.
Practice label: This label is saved in the emulator. Use 1–80 characters. Suggested practice value: moonbase.
3. Read the deployed stack parameters
Describe the stack and find your Purpose value. This verifies the stored stack and parameter. It does not run a CDK CLI, provision a real bootstrap environment, or support arbitrary CDK code.
Practice, then check your understanding
Perform the actions yourself and inspect the returned state. Errors keep your settings so you can retry. Starting another lab clears the previous live environment. Earned XP is kept, and signed-in achievements sync to your account. Replay does not award duplicate XP.
Read the official AWS documentation for service behavior and production details.