Lambda Orchestration

Orchestrate a series of Lambda Functions

This workflow simulates a stock trading process. The first state simulates checking a stock price by generating a random number representing the price of a stock. The stage passes this price to the Generate Buy/Sell recommendation state which determines if the trader should buy or sell the stock. The recommendation is passed to an SQS queue simulating a trader verifying the recommendation and approving it.
This decision is passed to the Buy or Sell choice state which directs the flow to the proper buy or sell Lambda function. The result of the trade is sent to an SNS Topic.

Launch Stack
< Back to all workflows

GitHub icon View this workflow on GitHub


Clone repo

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/lambda-orchestration-sam/cd step-functions-workflows-collection/lambda-orchestration-sam

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: sam delete.

Additional resources

Created by:

Mike Ellis

Mike Ellis

Mike is a Technical Account Manager at AWS.

Follow on LinkedIn