(aws-stepfunctions): Can't add Jsonata strings to toleratedFailurePercentage #34085
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the bug
When trying to create a DistributedMap with a jsonata string passed in for the toleratedFailurePercentage it is not typesafe and I get a validation error saying that it must be a number that prevents me from generating the definition that I want.
I have tried uploading a jsonata string to the definition body in the aws console so I know its allowed and the doc agree.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I would expect that I am allowed to use a jsonata variable string for the distributed map failure threshold as specified in the doc.
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
^2.178.1
Framework Version
No response
Node.js Version
v20.18.2
OS
OSX
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: