Template generator for Aws Step Functions. The intention is to have the scala compiler verifing the format.
The Hello World example:
{
"Comment": "A simple minimal example of the States language",
"StartAt": "Hello World",
"States": {
"Hello World": {
"Type": "Task",
"Resource": "arn:aws:lambda:us-east-1:123456789012:function:HelloWorld",
"End": true
}
}
Can be writen has
StateMachine(
Comment = "A simple minimal example of the States language",
StartAt = "Hello World",
States = Map(
"Hello World" -> TaskState(
Resource = "arn:aws:lambda:us-east-1:123456789012:function:HelloWorld",
follow = End
)
)
)