nx-plugin-for-aws
The @aws/nx-plugin is a collection of code generators that automate the creation and configuration of cloud-native applications using AWS, TypeScript, Python an
What is nx-plugin-for-aws?
The @aws/nx-plugin is a collection of code generators that automate the creation and configuration of cloud-native applications using AWS, TypeScript, Python and React within the Nx development ecosystem.
Overview of nx-plugin-for-aws
What it is
The @aws/nx-plugin is a collection of code generators that automate the creation and configuration of cloud-native applications using AWS, TypeScript, Python and React within the Nx development ecosystem. Every generator produces best-practice application code and the infrastructure to deploy it — type-safe, locally runnable, and deployable from the start.
Key features
- Generators for TypeScript projects (libraries, APIs with tRPC or Smithy, websites with React, Lambda functions, MCP servers, Strands agents, and more)
- Generators for Python projects (APIs with FastAPI, Lambda functions, MCP servers, Strands agents, and more)
- Infrastructure generators for AWS CDK or Terraform - Authentication generator to add Cognito to a website - Database generators for Aurora RDS (relational) and DynamoDB (single-table design with ElectroDB)
- Connection generator to link projects together (e.g., frontend to API)
- Preconfigured MCP server for AI assistant integration
Use cases
- Quickly scaffold a full-stack AWS application inside an Nx monorepo - Use an AI assistant (via the built-in MCP server) to generate and connect components - Add individual components like APIs, databases, authentication, or infrastructure piece by piece using the CLI - Build and deploy cloud-native applications with type-safe, locally runnable code
Getting started
Create a new workspace and add components: bash pnpm create @aws/nx-workspace my-project cd my-project # Add a tRPC API pnpm nx g @aws/nx-plugin:ts#api --framework=trpc # Add a Strands AI agent (Python) pnpm nx g @aws/nx-plugin:py#agent # Add a React website pnpm nx g @aws/nx-plugin:ts#website --framework=react # Add authentication to your website pnpm nx g @aws/nx-plugin:ts#website#auth # Connect your website to your API and agent pnpm nx g @aws/nx-plugin:connection # Add CDK infrastructure to deploy it all (or choose Terraform) pnpm nx g @aws/nx-plugin:ts#infra
License and pricing
The @aws/nx-plugin is licensed under Apache-2.0 and is open source (free).
Based on the project's public README and repository metadata.