Skip to content

awsdataarchitect/aws-blocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Custom Kiro Power: AWS Blocks

A Custom Kiro Power that gives your AI agent full knowledge of AWS Blocks Building Blocks so it can create complete applications from plain English descriptions.

Why you need this

AWS Blocks ships steering files inside the npm package that help AI agents generate correct code. This Power goes further β€” it bundles activation keywords, scaffolding automation, deployment troubleshooting, and opinionated patterns across all 20 building blocks so the agent builds complete applications from a single prompt without reading node_modules documentation.

Install

Kiro IDE: Powers panel > Add Custom Power > Import from GitHub > https://github.com/awsdataarchitect/aws-blocks

What happens after installation

You describe an app. The Power activates on keywords like "blocks", "building blocks", or specific block names. The agent scaffolds the project, writes the backend with the correct building blocks, wires up the frontend with type-safe imports, and starts the local dev server. One prompt to a working app.

"Create a bookmark manager where users save links, tag them, and search by tag"

Agent uses DistributedTable with indexes, AuthBasic for user isolation, ApiNamespace for CRUD + search.

"Create a file sharing app with upload, download links, and automatic cleanup"

Agent uses FileBucket for presigned URLs, CronJob for expiry sweep, AuthOIDC for identity.

"Create a team dashboard with real-time updates when data changes"

Agent uses DistributedTable for data, Realtime with typed namespaces for live updates, AuthCognito with groups.

What the Power covers

All 20 Building Blocks with constructor signatures, method calls, query patterns, and gotchas:

Block Local Mock AWS Service
KVStore JSON on disk Amazon DynamoDB
DistributedTable JSON on disk Amazon DynamoDB
Database PGlite (WASM) Amazon Aurora Serverless v2
DistributedDatabase PGlite (WASM) Amazon Aurora DSQL
FileBucket Filesystem Amazon S3
AuthBasic Local JWT Amazon DynamoDB + JWT
AuthCognito Local mock Amazon Cognito
AuthOIDC Stub IdP OAuth redirect flow
Realtime Local WebSocket Amazon API Gateway WebSocket
AsyncJob In-process Amazon SQS + AWS Lambda
CronJob In-process Amazon EventBridge + AWS Lambda
Agent Canned responses Amazon Bedrock
KnowledgeBase Local vectors Amazon Bedrock Knowledge Bases
EmailClient Console log Amazon SES
AppSetting In-memory AWS Systems Manager Parameter Store
Logger Console output Amazon CloudWatch Logs
Metrics No-op Amazon CloudWatch
Tracer No-op AWS X-Ray
Dashboard No-op Amazon CloudWatch

Plus deployment (Hosting with SSR, custom domains, WAF), CDK escape hatch, and troubleshooting for every common error.

Structure

β”œβ”€β”€ POWER.md                              # Activation keywords + onboarding
└── steering/
    β”œβ”€β”€ project-setup.md                  # Templates, local dev, manual setup
    β”œβ”€β”€ building-blocks-reference.md      # All 20 blocks with code examples
    └── deployment-troubleshooting.md     # Deploy, hosting, error fixes

Requirements

License

MIT

About

Kiro Power for AWS Blocks β€” gives your AI agent full knowledge of all Building Blocks to create full-stack apps from plain English

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors