aws-stepfunctions-tasks: support revision id in StepFunctionsStartExecution #26532
Labels
@aws-cdk/aws-stepfunctions-tasks
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Step Functions now supports Versions and Aliases.
I would like to have the
tasks.StepFunctionsStartExecution
link to a specific state machine revision ID.Use Case
The use case is where there is a parent and child nested step function. If a deploy occurs that updates the nested step function, this may break long running executions of the parent. By linking the parent step function to a revision of the child step function, we can prevent many such breakages.
Proposed Solution
Currently tasks.StepFunctionsStartExecution accepts a
StateMachine
. I would instead like to pass thestateMachineRevisionId
which was added here: #26443Other Information
No response
Acknowledgements
CDK version used
Latest
Environment details (OS name and version, etc.)
Amazon Linux 2
The text was updated successfully, but these errors were encountered: