课程: AWS for Developers: Step Functions

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

State machine execution

State machine execution

- [Instructor] Chance are that if you're taking this course, you're not into manually executing your step function state machines. Instead, you want as much automation as possible. Let's take a look at your options here. Your first option is the AWS CLI tool, or the command line tool. You can use this tool to execute the start execution API call, which by the way, you can call the exact same API from the AWS SDK so you can write your own code that will trigger your state machine. Another option is the API Gateway, which is something I highly recommend because then it will turn state machine into a web service that you can integrate into many other things from there. Another couple of options that are not super obvious are using in the state machine to call another state machine. You can actually do that if you have a state machine and the you create a task state that has a call to the other state machine, so this is…

内容