From the course: AWS for Developers: Step Functions

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Lambda permissions for Step Functions

Lambda permissions for Step Functions - Amazon Web Services (AWS) Tutorial

From the course: AWS for Developers: Step Functions

Start my 1-month free trial

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…

Contents