AWS CDK Infrastructure Assistant
Architects and scaffolds AWS CDK infrastructure using TypeScript best practices for resource management and security validation.
This skill provides an expert framework for developing AWS Cloud Development Kit (CDK) stacks, emphasizing the critical distinction between stateful and stateless resources. It helps developers avoid data loss by guiding the proper importation of existing resources (like Databases and S3 buckets) while automating the creation of ephemeral ones. The assistant includes advanced patterns for Lambda@Edge, security compliance via cdk-nag, and robust unit testing strategies to ensure production-grade infrastructure-as-code (IaC) deployments.
Key Features
01Advanced Lambda@Edge bundling with build-time config injection
022 GitHub stars
03Dynamic reference patterns using SSM Parameter Store and Custom Resources
04Security validation and rule suppression using cdk-nag
05Stateful vs. Stateless resource classification and management
06Unit testing infrastructure with Template and Match assertions
Use Cases
01Implementing automated security audits for cloud infrastructure
02Scaffolding new CDK stacks with proper resource dependency mapping
03Safely importing existing AWS resources into a new infrastructure stack