课程: AWS for Developers: Step Functions

今天就学习课程吧!

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

Lambda permissions for Step Functions

Lambda permissions for Step Functions

- [Instructor] All right so now that we have a Lambda function that works, we can create a real state machine. We're going to start by going to the IAM console. And we're going to select Roles. And we're going to create a single role that is going to be used by our state machine. We're going to select AWS service. In this case the service is going to be Step Functions. Just down here on the list. And we're going to click Next. It's interesting because by default we're provided with the exact value that we're looking for which is a lambda:InvokeFunction role. So we're going to choose this. Next. And Next. And now we need to provide a name. We're going to call it BackOfficeShippingIAMRole. Now the purpose of this role is that we're not going to need to come back here every time we add a function to our state machine. Because we're going to allow Step Functions to execute any and all Lambdas that we create. Let's…

内容