Skip to main content

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

FeatureDescription
Preset TemplatesPre-configured infrastructure patterns for common architectures
Resource BundlesIndividual AWS services (SNS, SQS, DynamoDB, S3) as modules
Environment AwarenessSeparate configs for dev, staging, and production
TypeScript FirstFull TypeScript support with type safety
CI/CD ReadyDesigned for automated deployment pipelines
Nx NativeBuilt specifically for Nx workspaces

Next Steps

Ready to get started? Follow our Quick Start Guide to create your first CDK-powered microservice in minutes!