(stepfunctions): java sdk JsonPath.mapAt #28288
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.
jsii
This issue originates in jsii, or this feature must be implemented in jsii.
p3
Describe the feature
The java library is tougher to work with than Typescript (or other languages) because you can't just throw random json into the object and call it a day. You have to deal with the types, even though you don't want to. I want to pass a parameter into the
BatchSubmitJob
BatchContainerOverrides.environment
. But I can't, because its aMap
.There is
Use Case
There are functions for dealing with string, numbers and lists, but no maps:
Proposed Solution
What I want:
Other Information
There is a
JsonPath.objectAt(path)
function, but for the life of me I can't make it useful. It returns anIResolvable
and I can't seem to turn that into anything. So it might as well not exist.Acknowledgements
CDK version used
2.112.0
Environment details (OS name and version, etc.)
MacOS M1. Java 17
The text was updated successfully, but these errors were encountered: