Introduction
Nx CDK Plugin is a powerful tool that seamlessly integrates AWS Cloud Development Kit (CDK) into your Nx monorepo. It enables you to build, deploy, and manage AWS infrastructure for microservices with reusable presets, modular resource bundles, and environment-aware configurations.
Why Nx CDK Plugin?
🚀 Accelerated Development
- Pre-configured infrastructure templates (presets)
- Ready-to-use microservice architectures
- Consistent patterns across your organization
🏗️ Modular Architecture
- Add individual AWS services as needed
- Compose complex applications from simple building blocks
- Reusable resource bundles
🌍 Environment Management
- Separate configurations for dev, staging, and production
- Environment-aware resource settings
- Easy promotion between environments
🔧 Nx Integration
- Native support for Nx workspaces
- Leverages Nx caching and dependency management
- TypeScript-first with full type safety
Key Features
| Feature | Description |
|---|---|
| Preset Templates | Pre-configured infrastructure patterns for common architectures |
| Resource Bundles | Individual AWS services (SNS, SQS, DynamoDB, S3) as modules |
| Environment Awareness | Separate configs for dev, staging, and production |
| TypeScript First | Full TypeScript support with type safety |
| CI/CD Ready | Designed for automated deployment pipelines |
| Nx Native | Built specifically for Nx workspaces |
Next Steps
Ready to get started? Follow our Quick Start Guide to create your first CDK-powered microservice in minutes!
Popular Starting Points:
- 📚 Installation Guide - Set up the plugin
- ⚡ Quick Start - Deploy your first service
- 🏗️ Core Concepts - Understand the fundamentals
- 🎯 Presets - Explore available templates
- 📖 Examples - See real-world use cases