Open jbarz1 opened 1 year ago
fromRoleArnJsonPath
essentially returns TaskRole
rather than the expected IRole
.
I am not sure if it's appropriate to have TaskRole
implement IRole
.
I am making it p2 and any pull requests are welcome and appreciated.
Describe the bug
the role parameter should be able to take in a JsonPath from a stepfunction workflow.
https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-stepfunctions-tasks.SageMakerCreateModel.html#role
Expected Behavior
successful build
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.14.0
Framework Version
No response
Node.js Version
14
OS
linux
Language
Typescript
Language Version
No response
Other information
No response