A Kiro power for building resilient, long-running multi-step applications and AI workflows with AWS Lambda durable functions. Durable functions automatically checkpoint progress, suspend execution for up to one year during long-running tasks, and recover from failures.
- Replay Model Guidance - Critical rules to avoid non-deterministic bugs
- Step Operations - Atomic operations with retry strategies
- Wait Operations - Delays, callbacks, and polling patterns
- Concurrent Operations - Map and parallel execution with concurrency control
- Error Handling - Retry strategies, saga pattern, and compensating transactions
- Testing Patterns - Local and cloud testing with test runners
- Deployment - CloudFormation, CDK, and SAM templates
Install the Power from kiro.dev, from the IDE, or directly from the GitHub URL. Check the documentation for detailed instructions.
Once installed, try:
"Help me create a durable Lambda function that processes orders with retries"
Kiro will load the appropriate steering files and guide you through:
- Setting up the handler with proper replay model rules
- Implementing steps with retry strategies
- Adding error handling and compensating transactions
- Writing tests with LocalDurableTestRunner
- Deploying with CloudFormation/CDK/SAM
- Replay Model - How Lambda durable functions execute and replay
- Determinism Rules - What must be inside steps vs outside
- Qualified ARNs - Why versions/aliases are required
- Checkpoint Strategy - When and how state is persisted
- Multi-step workflows
- GenAI agentic loops
- Human-in-the-loop approvals
- Saga pattern for distributed transactions
- Batch processing with partial failure handling
- External system integration via callbacks
power-aws-lambda-durable-functions/
├── POWER.md # Main power file
└── steering/ # Workflow-specific guidance
├── getting-started.md # Quick start and common patterns
├── replay-model-rules.md # CRITICAL: Replay model constraints
├── step-operations.md # Step patterns and retry strategies
├── wait-operations.md # Waits, callbacks, and polling
├── concurrent-operations.md # Map and parallel execution
├── error-handling.md # Retry strategies and saga pattern
├── testing-patterns.md # Local and cloud testing
└── deployment-iac.md # CloudFormation, CDK, SAM
When you mention these keywords, Kiro will automatically load this power:
- lambda, durable, workflow, orchestration, state machine
- retry, checkpoint, long-running, stateful
- saga, agentic, ai workflow, human-in-the-loop, callback
- aws, serverless
- AWS Lambda durable functions Documentation
- JavaScript SDK Repository
- Python SDK Repository
- Kiro Powers Documentation
This project is licensed under the Apache-2.0 License.