npx skills add ...
npx skills add github/awesome-copilot --skill aws-cdk-python-setup
npx skills add github/awesome-copilot --skill aws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment prerequisites, create new CDK projects, manage dependencies, and deploy to AWS.
This skill provides setup guidance for working with AWS CDK (Cloud Development Kit) projects using Python.
Before starting, ensure the following tools are installed:
Enter your AWS Access Key, Secret Access Key, default region, and output format when prompted.
Your project will include:
app.py — Main application entry pointmy_cdk_project/ — CDK stack definitionsrequirements.txt — Python dependenciescdk.json — Configuration filePrimary dependencies:
aws-cdk-lib — Core CDK constructsconstructs — Base construct libraryGenerates cdk.out/ containing CloudFormation templates.
Reviews and confirms deployment to the configured AWS account.
Prepares environment resources like S3 buckets for asset storage.
cdk diff before deployment to preview changes.requirements.txt pinned for consistent builds.If issues occur, check:
cdk doctor to diagnose environment issues.# macOS/Linux
source .venv/bin/activate
# Windows
.venv\Scripts\activatepip install -r requirements.txtcdk synthcdk deploycdk bootstrap