cdk-expert-python

Create AWS CDK Python stacks with L3 constructs and least privilege IAM.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MattJColes/macols-configs --skill cdk-expert-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cdk-expert-python
Source: https://github.com/MattJColes/macols-configs/tree/main/shared/personas/cdk-expert-python
Command: npx skills add https://github.com/MattJColes/macols-configs --skill cdk-expert-python

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation and management of AWS infrastructure as code using Python with the AWS CDK, enabling developers to efficiently define and provision resources while adhering to best practices.

Core Features & Use Cases

  • Single-stack Design: Ensures infrastructure is scoped per bounded context, improving maintainability and scalability.
  • Reusable Constructs: Provides L3 constructs for common patterns like single-table DynamoDB and queue management.
  • Least Privilege IAM: Implements strict IAM policies to ensure minimal privilege access to resources.
  • Use Case: Use this Skill to create a new AWS CDK stack for a specific bounded context, including a single-table DynamoDB for user profiles.

Quick Start

Initialize a new stack for user profiles with DynamoDB using the cdk-expert-python skill.

Frequently Asked Questions about cdk-expert-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement least privilege IAM policies in AWS CDK using Python?

To implement least privilege IAM policies in AWS CDK using Python, this Skill applies strict IAM policy configurations to ensure resources have minimal access. It provisions infrastructure securely by scoping permissions exactly to required actions.

What is single-stack bounded context design in AWS CDK?

Single-stack bounded context design in AWS CDK is an architectural approach that scopes infrastructure per business domain. This Skill structures Python-based infrastructure as code this way to improve maintainability and scalability.

How do I create a single-table DynamoDB construct in AWS CDK for Python?

To create a single-table DynamoDB construct in AWS CDK for Python, this Skill provides reusable L3 constructs for common patterns. These constructs encapsulate single-table DynamoDB logic to streamline resource provisioning.

Can I use L3 constructs to manage queues in AWS CDK with Python?

Yes, you can use L3 constructs to manage queues in AWS CDK with Python. This Skill provides reusable L3 constructs for queue management, allowing you to efficiently define and provision these resources.

What is the best way to provision AWS infrastructure as code with Python?

The best way to provision AWS infrastructure as code with Python is using AWS CDK with single-stack bounded contexts. This Skill streamlines resource creation and management while adhering to best practices like least privilege IAM.

Why scope AWS CDK infrastructure per bounded context?

Scoping AWS CDK infrastructure per bounded context improves maintainability and scalability of Python-based infrastructure as code. This Skill enforces single-stack design to ensure infrastructure remains modular and manageable.