
Aws Blocks
This covers AWS Blocks, an infrastructure-from-code framework that bundles CDK, SDK, and local mocks into a single API. You define your entire backend in one aws-blocks directory, and the frontend gets fully typed imports without code generation. It ships with 18+ building blocks for storage, auth, realtime, background jobs, and more, all of which run locally without AWS credentials. The skill guides you through scaffolding projects, picking the right building blocks like KVStore or AuthCognito, and deploying with least-privilege credentials. One thing to note: API methods are unauthenticated by default, so you need to explicitly call requireAuth on anything that shouldn't be public. Good fit if you want fast local development with a clear path to production AWS infrastructure.
- skills.sh installs
- 5.9K
- GitHub stars
- 3.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aws/agent-toolkit-for-aws --skill aws-blocks --agent claude-codeInstalls into .claude/skills of the current project.
Files
AWS Blocks Application Development
Package naming: All packages are published under the
@aws-blocksscope (e.g.,@aws-blocks/core,@aws-blocks/blocks,@aws-blocks/bb-kv-store).
Overview
AWS Blocks is an Infrastructure-from-Code framework where Building Blocks bundle CDK, SDK, and local mocks into a single API. It provides 18+ Building Blocks covering storage, authentication, real-time communication, background jobs, file management, AI/search, email, and observability — all working locally without AWS credentials.
Key characteristics:
- One
aws-blocks/directory defines the entire backend - Frontend imports are fully typed — no client generation needed
- All Building Blocks work locally without AWS (mocks persist to
.bb-data/) - Deploy ephemeral, individual testing environments with
npm run sandboxand long-lived environments withnpm run deployusing least-privilege credentials
Scaffolding a New Project
npx @aws-blocks/create-blocks-app my-app
cd my-app
To add AWS Blocks to an existing project:
npx @aws-blocks/create-blocks-app .
Sponsors
Details
- Repository
- github.com/aws/agent-toolkit-for-aws
- Categories
- Backend & APIs, AI & Agent Building, Release Management, Cloud & Infrastructure, Databases
- First seen
- Jul 14, 2026
More from aws/agent-toolkit-for-aws
All 56- Querying Aws Cloudwatch5.9K
- Amazon Elasticache5.9K
- Amazon Aurora Mysql5.7K
- Managing Amazon Msk5.5K
- Developing Applications On Managed Service For Apache Flink5.4K
- Creating Ec2 Image Builder Pipeline3.9K
- Aws Iam10.9K
- Aws Serverless10.9K
- Aws Observability10.7K
- Aws Containers10.1K
- Aws Cdk10.1K
- Aws Billing And Cost Management9.6K
- Aws Cloudformation9.4K
- Amazon Bedrock9K
- Aws Messaging And Streaming8.7K
- Aws Sdk Js V3 Usage8.5K
- Aws Sdk Python Usage8.3K
- Securing S3 Buckets7.4K
- Connecting To Data Source7.2K
- Creating Secrets Using Best Practices7.2K
- Exploring Data Catalog7.1K
- Querying Data Lake7.1K
- Storing And Querying Vectors7K
- Connecting Lambda To Api Gateway7K