Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Very basic AWS Step Functions example for user on-boarding workflow
{
"StartAt": "HelloWorld",
"States": {
"HelloWorld": {
"Type": "Pass",
"Result": "Hello World!",
"Next": "ITSupport"
},
"ITSupport": {
"Type": "Parallel",
"Branches": [
{
"StartAt": "ProvisionLaptop",
"States": {
"ProvisionLaptop": {
"Type": "Task",
"Resource": "arn:aws:states:us-west-2:676655494252:activity:UserOnboarding-ProvisionLaptop",
"End": true
}
}
},
{
"StartAt": "CreateUser",
"States": {
"CreateUser": {
"Type": "Task",
"Resource": "arn:aws:states:us-west-2:676655494252:activity:UserOnboarding-CreateUser",
"Next": "CreateMailbox"
},
"CreateMailbox": {
"Type": "Task",
"Resource": "arn:aws:states:us-west-2:676655494252:activity:UserOnboarding-CreateMailbox",
"End": true
}
}
}
],
"Next": "SendEmailToManager"
},
"SendEmailToManager": {
"Type": "Task",
"Resource": "arn:aws:states:us-west-2:676655494252:activity:UserOnboarding-SendEmailToManager",
"End": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.