Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
github avatar

Aws Cdk Python Setup

  • 1.6k installs
  • 37.1k repo stars
  • Updated July 28, 2026
  • github/awesome-copilot

The aws-cdk-python-setup skill guides developers through AWS CDK Python project bootstrap from prerequisites to first deploy.

About

The aws-cdk-python-setup skill guides developers through AWS CDK Python project bootstrap from prerequisites to first deploy. It covers Node.js for the CDK CLI, Python 3.7+, AWS CLI credentials, cdk init app --language python, virtualenv activation, pip install -r requirements.txt, cdk synth, and cdk deploy. Project layout includes app.py entry, stack package, requirements.txt, and cdk.json configuration. Troubleshooting addresses credential errors, bootstrap stacks, and dependency conflicts. Agents help when users need infrastructure-as-code scaffolding on AWS with Python constructs rather than console clicks. Installs global aws-cdk CLI and verifies cdk --version. Runs cdk init app --language python for new projects. Activates .venv and installs requirements.txt dependencies. Documents cdk synth and cdk deploy with bootstrap guidance. Lists app.py, stack module, and cdk.json project structure. Set up AWS CDK Python projects with CLI install, credentials, cdk init, virtualenv, synth, and deploy workflows.

  • Installs global aws-cdk CLI and verifies cdk --version.
  • Runs cdk init app --language python for new projects.
  • Activates .venv and installs requirements.txt dependencies.
  • Documents cdk synth and cdk deploy with bootstrap guidance.
  • Lists app.py, stack module, and cdk.json project structure.

Aws Cdk Python Setup by the numbers

  • 1,572 all-time installs (skills.sh)
  • +21 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #260 of 1,041 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

aws-cdk-python-setup capabilities & compatibility

Capabilities
installs global aws cdk cli and verifies cdk v · runs cdk init app language python for new proj · activates .venv and installs requirements.txt de · documents cdk synth and cdk deploy with bootstra
Use cases
devops
From the docs

What aws-cdk-python-setup says it does

Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python.
SKILL.md
npx skills add https://github.com/github/awesome-copilot --skill aws-cdk-python-setup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.6k
repo stars37.1k
Security audit3 / 3 scanners passed
Last updatedJuly 28, 2026
Repositorygithub/awesome-copilot

How do I apply aws-cdk-python-setup for the workflow described in SKILL.md?

Set up AWS CDK Python projects with CLI install, credentials, cdk init, virtualenv, synth, and deploy workflows.

Who is it for?

Teams using aws-cdk-python-setup as documented in the skill repository.

Skip if: Tasks outside the aws-cdk-python-setup scope defined in SKILL.md.

When should I use this skill?

User mentions aws-cdk-python-setup or related skill triggers from the description.

What you get

Structured deliverables and steps from the aws-cdk-python-setup skill workflow.

  • Initialized CDK Python project
  • Configured AWS credentials
  • Deploy-ready stack scaffold

By the numbers

  • Requires Node.js ≥ 14.15.0 for AWS CDK CLI
  • Requires Python ≥ 3.7 for CDK application code

Files

SKILL.mdMarkdownGitHub ↗

AWS CDK Python Setup Instructions

This skill provides setup guidance for working with AWS CDK (Cloud Development Kit) projects using Python.

---

Prerequisites

Before starting, ensure the following tools are installed:

  • Node.js ≥ 14.15.0 — Required for the AWS CDK CLI
  • Python ≥ 3.7 — Used for writing CDK code
  • AWS CLI — Manages credentials and resources
  • Git — Version control and project management

---

Installation Steps

1. Install AWS CDK CLI

npm install -g aws-cdk
cdk --version

2. Configure AWS Credentials

# Install AWS CLI (if not installed)
brew install awscli

# Configure credentials
aws configure

Enter your AWS Access Key, Secret Access Key, default region, and output format when prompted.

3. Create a New CDK Project

mkdir my-cdk-project
cd my-cdk-project
cdk init app --language python

Your project will include:

  • app.py — Main application entry point
  • my_cdk_project/ — CDK stack definitions
  • requirements.txt — Python dependencies
  • cdk.json — Configuration file

4. Set Up Python Virtual Environment

# macOS/Linux
source .venv/bin/activate

# Windows
.venv\Scripts\activate

5. Install Python Dependencies

pip install -r requirements.txt

Primary dependencies:

  • aws-cdk-lib — Core CDK constructs
  • constructs — Base construct library

---

Development Workflow

Synthesize CloudFormation Templates

cdk synth

Generates cdk.out/ containing CloudFormation templates.

Deploy Stacks to AWS

cdk deploy

Reviews and confirms deployment to the configured AWS account.

Bootstrap (First Deployment Only)

cdk bootstrap

Prepares environment resources like S3 buckets for asset storage.

---

Best Practices

  • Always activate the virtual environment before working.
  • Run cdk diff before deployment to preview changes.
  • Use development accounts for testing.
  • Follow Pythonic naming and directory conventions.
  • Keep requirements.txt pinned for consistent builds.

---

Troubleshooting Tips

If issues occur, check:

  • AWS credentials are correctly configured.
  • Default region is set properly.
  • Node.js and Python versions meet minimum requirements.
  • Run cdk doctor to diagnose environment issues.

Related skills

FAQ

What does aws-cdk-python-setup do?

Set up AWS CDK Python projects with CLI install, credentials, cdk init, virtualenv, synth, and deploy workflows.

When should I invoke aws-cdk-python-setup?

Use when you need Set up AWS CDK Python projects with CLI install, credentials, cdk init, virtualenv, synth, and deploy workflows.

What outcome does aws-cdk-python-setup produce?

The aws-cdk-python-setup skill guides developers through AWS CDK Python project bootstrap from prerequisites to first deploy.

Is Aws Cdk Python Setup safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.