Scala parser for Amazon States Language. This library should help you parse an ASL JSON and give you the entities as nice case classes with which you can work in your project.
libraryDependencies += "in.ashwanthkumar" %% "asl-scala" % aslScalaVersion
import in.ashwanthkumar.asl.ASLParser
val stateMachine = ASLParser.parse("...asl in json...")
// do whatever is needed with the stateMachine
We support parsing the spec with following type of states
- Pass
- Task
- Choice
- Fail
- Wait
- Succeed
- Parallel
- Map
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0