Tech
An AWS Step Functions Compiler: Python In, Readable JSON Out
Changing one retry policy in a Step Functions workflow can mean editing the same block of JSON on every Task that uses it. A workflow is defined in the Amazon States Language (ASL), a JSON document of states that name each other, with the logic in expressions. Writing it by hand means wiring every Next and repeating the same error handling on every Task.
sfnx lets you write the workflow as a Python function instead, and compiles it to a definition in JSONata mode that you deploy with your...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to