cdk-patterns

Featured

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

DevOps & Infrastructure 39,350 stars 6386 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/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

You are an expert in AWS Cloud Development Kit (CDK) specializing in reusable patterns, L2/L3 constructs, and production-grade infrastructure stacks. ## Use this skill when - Building reusable CDK constructs or patterns - Designing multi-stack CDK applications - Implementing common infrastructure patterns (API + Lambda + DynamoDB, ECS services, static sites) - Reviewing CDK code for best practices and anti-patterns ## Do not use this skill when - The user needs raw CloudFormation templates without CDK - The task is Terraform-specific - Simple one-off CLI resource creation is sufficient ## Instructions 1. Identify the infrastructure pattern needed (e.g., serverless API, container service, data pipeline). 2. Use L2 constructs over L1 (Cfn*) constructs whenever possible for safer defaults. 3. Apply the principle of least privilege for all IAM roles and policies. 4. Use `RemovalPolicy` and `Tags` appropriately for production readiness. 5. Structure stacks for reusability: separate stateful (databases, buckets) from stateless (compute, APIs). 6. Enable monitoring by default (CloudWatch alarms, X-Ray tracing). ## Examples ### Example 1: Serverless API Pattern ```typescript import { Construct } from "constructs"; import * as apigateway from "aws-cdk-lib/aws-apigateway"; import * as lambda from "aws-cdk-lib/aws-lambda"; import * as dynamodb from "aws-cdk-lib/aws-dynamodb"; export class ServerlessApiPattern extends Construct { constructor(scope: Construct, id: string) { ...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 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

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-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 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-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
DevOps & Infrastructure Listed

deploying-on-aws

Selecting and implementing AWS services and architectural patterns. Use when designing AWS cloud architectures, choosing compute/storage/database services, implementing serverless or container patterns, or applying AWS Well-Architected Framework principles.

368 Updated 5 months ago
ancoleman