intro
sdlcs-aws-cdk-lib
AWS CDK library with extended constructs, Blue-Green/Canary deployment patterns, and context-aware environment management.
๐ Documentationโ
- ๐ Getting Started
- ๐ Quick Start Guide
- ๐ Installation
- ๐ฏ Context Strategy
- ๐ Blue-Green Deployments
- ๐ง Lambda Patterns
- ๐ API Reference
๐ Featuresโ
- Extended AWS CDK Constructs: Custom wrappers with automatic naming and tagging
- Blue-Green Lambda Deployments: Zero-downtime deployments with automatic rollback
- Context Strategy: Environment-aware configuration (dev, staging, prod, test, qa, preprod)
- Package Metadata Integration: Automatic resource tagging from package.json
- Canary Traffic Shifting: Gradual rollout with CodeDeploy integration
- Type-Safe: Full TypeScript support with strict mode enabled
โก Quick Startโ
# Install
npm install sdlcs-aws-cdk-lib aws-cdk-lib constructs
# Use in your CDK app
import { App, Stack } from 'sdlcs-aws-cdk-lib';
const app = new App();
const stack = new Stack(app, 'MyStack');
// Deploy
cdk deploy --context stage=dev
See the Quick Start Guide for a complete example.
๐ Prerequisitesโ
- Node.js >= 22.0.0
- npm >= 10.9.2
- AWS CLI configured with appropriate credentials
- AWS CDK v2.160.0 or later
๐ ๏ธ Developmentโ
# Clone and install
git clone https://github.com/akfdev-com/sdlcs-aws-cdk-lib.git
cd sdlcs-aws-cdk-lib
npm install
# Build
npm run build
# Run tests
npm test
# Lint
npm run lint