Preparing the Step Functions execution role
In this recipe, we will create an IAM execution role that will allow us to create and execute AWS Step Functions workflows. First, we will create an execution role with Step Functions as the AWS service trusted entity type. Then, we will add an inline policy to this role with the necessary permissions that will be assigned to this execution role.
Important Note
What is an IAM role? An IAM role is an IAM identity that's used to delegate access to entities and resources. This role can be assumed by a resource to gain the permissions needed to perform a specific task. In our case, we will create a role with the permissions to create and execute Step Functions workflows. This role will be used in the Managing ML workflows with AWS Step Functions and the Data Science SDK recipe. For more information, feel free to check out https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html.
Getting ready
For this...