Skip to content

nayele15/StatesLanguage

 
 

Repository files navigation

States Language

This library contains some helper classes to help creating and modifying workflow using the Amazon States Language. This is the workflow description language used by AWS StepFunctions

This project starts as a port of the java livrary light-workflow-4j project.

Sample

	StateMachine stateMachine = StepFunctionBuilder.StateMachine()
		.StartAt("InitialState")
		.TimeoutSeconds(30)
		.Comment("My Simple State Machine")
		.State("InitialState", StepFunctionBuilder.SucceedState()
			.Comment("Initial State")
			.InputPath("$.input")
			.OutputPath("$.output"))
		.Build();

    string json = stateMachine.ToJson();

    var builder = StateMachine.FromJson(json);

About

Helper classes to help creating and modifying workflow described using the Amazon States Language used by AWS StepFunctions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%