Last active
December 22, 2020 00:03
-
-
Save garystafford/df3f22433fab1c7f4cf259cf632b5133 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetObject", | |
"elasticmapreduce:DescribeStep", | |
"elasticmapreduce:AddJobFlowSteps", | |
"elasticmapreduce:RunJobFlow" | |
], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "iam:PassRole", | |
"Resource": [ | |
"arn:aws:iam::123412341234:role/EMR_DemoRole", | |
"arn:aws:iam::123412341234:role/EMR_EC2_DemoRole", | |
"arn:aws:iam::123412341234:role/EMR_EC2_DefaultRole", | |
"arn:aws:iam::123412341234:role/EMR_DefaultRole" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment