stepfunctions: Generated Policy for StateMachine Incorrect for StepFunctionsStartExecution step with Aliasing/Versioning #30265
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
When Creating a StateMachine construct that has a StepFunctionsStartExecution step that starts a state machine with an alias the generated policy is not correct.
the created policy will have a statement that looks like
Expected Behavior
Based on the AWS doc For executing aliases or versions you need to have a policy statement that looks like this
or this
Current Behavior
the created policy looks like this which is incorrect for executing an alias
Reproduction Steps
Create a StateMachine Construct that has a step that calls another state machine
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.115.0
Framework Version
No response
Node.js Version
18
OS
Amazon Linux 2
Language
TypeScript
Language Version
4.9.5
Other information
No response
The text was updated successfully, but these errors were encountered: