Posted On: Sep 4, 2024

Amazon Step Functions announces a new Validation API for your Step Functions workflows. The Validation API enables you to perform semantic checks on your workflows as you author them, helping you find syntactical errors sooner, shortening development cycles. Amazon Step Functions is a visual workflow service capable of orchestrating virtually any Amazon Web Services service to automate business processes and data processing workloads.

With the Validation API, you can perform semantic checks on your workflows before you run or deploy them to catch issues sooner. Simply validate a workflow by creating, updating, or directly calling the ValidateStateMachineDefinition API. Now with the Validation API you can catch common syntactical errors in workflows such as missing .$ on a field that uses a JSONPath or Intrinsic Function. We have also included suggestions for field names that are incorrect, but have a close match. For example, in the event of potential case sensitivity errors when calling services such as Amazon Simple Notification Service, or Amazon Simple Queue Service, we will suggest the correct alphabetical case for a service name when a mismatch is detected, saving you time.

This feature is available in all Amazon Web Services 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.

You can get started with the Validation API in the Amazon Web Service Management Console, using the Amazon SDK, or the Amazon Command Line Interface (CLI). To learn more, please see the Step Functions Developer Guide to get started.