-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(aws-stepfunctions): Add support for new fields WriterConfig in the ResultWriter for DistributedMap #33772
Description
Describe the feature
Step Functions introduced new properties under the ResultWriter field. Namely Transformation that is an enum with values NONE, FLATTEN, COMPACT and also OutputType which can be JSONL, JSON
Blog - https://aws.amazon.com/blogs/compute/introducing-jsonl-support-with-step-functions-distributed-map/
Related Documentation - https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultwriter.html#input-output-resultwriter-field-contents
I found a related issue that handles the addition of JSONL to the InputType - #33601
Use Case
Enable CDK users to utilize the new ResultWriter fields for Distributed Map.
Proposed Solution
Introduce a new enums OutputType and Transformation
Create a new class WriterConfig and add helper functions to add these new fields to it.
Add helper functions inside the ResultWriter class to add WriterConfig to it.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.1002.0
Environment details (OS name and version, etc.)
Mac, 14.7.4