aws-cdk-python-setup

Solid

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.

DevOps & Infrastructure 34,233 stars 4188 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ```bash npm install -g aws-cdk cdk --version ``` ### 2. Configure AWS Credentials ```bash # 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 ```bash 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 ```bash # macOS/Linux source .venv/bin/activate # Windows .venv\Scripts\activate ``` ### 5. Install Python Dependencies ```bash pip install -r requirements.txt ``` Primary dependencies: - `aws-cdk-lib` — Core CDK constructs - `constructs` — Base construct library --- ## Development Workflow ### Synthesize CloudFormation Templates ```bash cdk synth ``` Generates `c...

Details

Author
github
Repository
github/awesome-copilot
Created
11 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

aws-cdk-development

AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python. Use when creating CDK stacks, defining CDK constructs, implementing infrastructure as code, or when the user mentions CDK, CloudFormation, IaC, cdk synth, cdk deploy, or wants to define AWS infrastructure programmatically. Covers CDK app structure, construct patterns, stack composition, and deployment workflows.

300 Updated 1 months ago
zxkane
DevOps & Infrastructure Solid

aws-cdk

Provides AWS CDK TypeScript patterns for defining, validating, and deploying AWS infrastructure as code. Use when creating CDK apps, stacks, and reusable constructs, modeling serverless or VPC-based architectures, applying IAM and encryption defaults, or testing and reviewing `cdk synth`, `cdk diff`, and `cdk deploy` changes. Triggers include "aws cdk typescript", "create cdk app", "cdk stack", "cdk construct", "cdk deploy", and "cdk test".

263 Updated 1 weeks ago
giuseppe-trisciuoglio
DevOps & Infrastructure Featured

cdk-patterns

Common AWS CDK patterns and constructs for building cloud infrastructure with TypeScript, Python, or Java. Use when designing reusable CDK stacks and L3 constructs.

39,350 Updated today
sickn33
DevOps & Infrastructure Solid

cdk-patterns

Common AWS CDK patterns and constructs for building cloud infrastructure with TypeScript, Python, or Java. Use when designing reusable CDK stacks and L3 constructs.

335 Updated today
aiskillstore
DevOps & Infrastructure Solid

aws-serverless-deployment

AWS SAM and AWS CDK deployment for serverless applications. Triggers on phrases like: use SAM, SAM template, SAM init, SAM deploy, CDK serverless, CDK Lambda construct, NodejsFunction, PythonFunction, SAM and CDK together, serverless CI/CD pipeline. For general app deployment with service selection, use deploy-on-aws plugin instead.

765 Updated 2 days ago
awslabs