Skip to content

aws-cdk-lib.stepfunctions: Add Non-trivial Examples to Map Documentation #26707

@navneethc

Description

@navneethc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    aws-cdk-libRelated to the aws-cdk-lib packagedocumentationThis is a problem with documentation.effort/smallSmall work item – less than a day of effortgood first issueRelated to contributions. See CONTRIBUTING.mdp1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions