Skip to content

oleber/aws-stepfunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-stepfunctions

Template generator for Aws Step Functions. The intention is to have the scala compiler verifing the format.

Simple example

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
    )
  )
)

Do you want to use it?

Just copy the code. I did it ;)

About

Template generator for Aws Step Functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages