Closed orekav closed 9 months ago
Thank you for the report and pull request.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Following code is properly creates a step in Step Functions
However, it creates wrong statement in the role policy.
Correct service prefix for
MediaPackageVoD
ismediapackage-vod
. https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselementalmediapackagevod.htmlThis issue is similar with https://github.com/aws/aws-cdk/issues/27573 and https://github.com/aws/aws-cdk/issues/28081.
Expected Behavior
Action should be mediapackage-vod:deleteAsset
Current Behavior
Action is mediapackagevod:deleteAsset
Reproduction Steps
Sample code for reproduction is below:
Possible Solution
aws-cdk/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts
Additional Information/Context
No response
CDK CLI Version
2.122.0
Framework Version
No response
Node.js Version
v18.19.0
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response