Posted On: Aug 31, 2022
Amazon Step Functions expands support for manipulation of your input and output data with the addition of 14 new intrinsic functions so you can simplify data processing, reduce calls to downstream services, and write less code. Step Functions is a low-code, visual workflow service that supports integrations with a number of Amazon Web Services services and API actions, and now more intrinsic functions.
Now, Step Functions makes it easier to perform data processing tasks such as array manipulation, JSON object manipulation, and math functions within your workflows without having to invoke downstream services or add Task states. When building workflows, you may need to check the result of map and parallel states, merge JSON objects, or create a UUID. Previously, to accomplish these tasks you needed to write functions in downstream services such as Amazon Lambda which resulted in more code and integration points to manage. With Step Functions new intrinsic functions, you can perform basic data processing and data manipulations such as merging two JSON objects using states.JsonMerge directly in your workflow so you can combine the results of a task and its original input, allowing you to use downstream services for more business-critical tasks.
The new intrinsic functions are added directly to Amazon States Language and available where you build Step Functions workflows today including the Step Functions console, Amazon CloudFormation, or the Amazon Command Line Interface (CLI). To learn more please see the Amazon Step Functions Developer Guide.
This feature is available in all regions where Amazon Step Functions is available, including Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD.