aws-cdk-lib.stepfunctions: Add Non-trivial Examples to Map Documentation #26707
Labels
aws-cdk-lib
Related to the aws-cdk-lib package
documentation
This is a problem with documentation.
effort/small
Small work item – less than a day of effort
good first issue
Related to contributions. See CONTRIBUTING.md
p1
Describe the issue
The documentation for the Map constructor currently points to using a single Pass state, however this is far from a real-world scenario. (Without intending to be rude, I'd say this is useless.) Recently I was bitten by a few bugs and lost a few hours thanks to the way I arranged the tasks within Map state.
Consider adding an example or two which show how to add more than one state to a Map, and how to proceed from a Map to the outside. And also how to use the
next
methods in such cases.Links
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions-readme.html#map
The text was updated successfully, but these errors were encountered: