Skip to content

Aws step functions#87

Open
projeffpalmer wants to merge 13 commits intokirodotdev:mainfrom
projeffpalmer:aws-step-functions
Open

Aws step functions#87
projeffpalmer wants to merge 13 commits intokirodotdev:mainfrom
projeffpalmer:aws-step-functions

Conversation

@projeffpalmer
Copy link
Copy Markdown

Issue #, if available:

Description of changes:
Incorporated feedback from the AWS Step Functions Dev team and SA team into the aws-step-functions power.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

projeffpalmer and others added 3 commits March 17, 2026 11:23
…dation and testing

Tested all code snippets with this power and fixed all discovered issues
Reviewed POWER.md and updated it
projeffpalmer and others added 5 commits April 1, 2026 08:52
Co-authored-by: Ben <9841563+bfreiberg@users.noreply.github.com>
Co-authored-by: Ben <9841563+bfreiberg@users.noreply.github.com>
Co-authored-by: Ben <9841563+bfreiberg@users.noreply.github.com>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved all full state machines to examples/
Changed architecture-patterns.md to reference examples/
Split "variables and data" into 2 steering files: "Processing State Inputs and Outputs" and "transforming data"
Other edits
Moved all full state machines to examples/
Changed architecture-patterns.md to reference examples/
Split "variables and data" into 2 steering files: "Processing State Inputs and Outputs" and "transforming data"
Other edits
```
Use `ToleratedFailurePercentage` (0–100) and/or `ToleratedFailureCount` to allow partial failures. The Map state fails if either threshold is breached.

### ItemReader (Distributed Map only, optional)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we give an example of a distributed map state machine?

Inside `ItemSelector`, you can access:
- `$states.context.Map.Item.Value` — the current array element
- `$states.context.Map.Item.Index` — the zero-based index
Iterates over a JSON array or a JSON object, processing each element (potentially in parallel).
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this backlink to any example(s)?

@bchampp
Copy link
Copy Markdown

bchampp commented Apr 10, 2026

Thanks for the contribution! 🚀🚀🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants