Skip to content

Instantly share code, notes, and snippets.

@bahrmichael
Created January 23, 2020 13:38
Show Gist options
  • Save bahrmichael/6d60484f18ae131bea9f5512a091fc9e to your computer and use it in GitHub Desktop.
Save bahrmichael/6d60484f18ae131bea9f5512a091fc9e to your computer and use it in GitHub Desktop.
stepFunctions:
validate: true
stateMachines:
marketCheck:
events:
- schedule:
rate: rate(10 minutes)
definition:
StartAt: ParseMarkets
States:
ParseMarkets:
Type: Task
Resource:
Fn::GetAtt: [parseMarket, Arn]
Next: CheckWatches
CheckWatches:
Type: Task
Resource:
Fn::GetAtt: [checkWatches, Arn]
Next: CreateNotifications
CreateNotifications:
Type: Task
Resource:
Fn::GetAtt: [createNotification, Arn]
End: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment