I'm using AWS DataPipeline to run an aws-cli command that creates an EMR Cluster, but I'm getting the following error when the command runs:
user ... is not authorized to perform: elasticmapreduce:RunJobFlow
I want to associate the right Policy to authorise this, but how do I know which policy is needed?