Skip to content

Commit 45709dd

Browse files
authored
adding recommended controller IAM policy (#17)
Issue #, if available: aws-controllers-k8s/community#1468 Description of changes: adding recommended controller IAM policy to recommended-inline-policy so that we can simplify getting-started tutorial By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent c6e3643 commit 45709dd

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"Version": "2012-10-17",
3+
"Statement": [
4+
{
5+
"Effect": "Allow",
6+
"Action": [
7+
"iam:CreateServiceLinkedRole"
8+
],
9+
"Resource": "*",
10+
"Condition": {
11+
"StringLike": {
12+
"iam:AWSServiceName": "emr-containers.amazonaws.com"
13+
}
14+
}
15+
},
16+
{
17+
"Effect": "Allow",
18+
"Action": [
19+
"emr-containers:CreateVirtualCluster",
20+
"emr-containers:ListVirtualClusters",
21+
"emr-containers:DescribeVirtualCluster",
22+
"emr-containers:DeleteVirtualCluster"
23+
],
24+
"Resource": "*"
25+
},
26+
{
27+
"Effect": "Allow",
28+
"Action": [
29+
"emr-containers:StartJobRun",
30+
"emr-containers:ListJobRuns",
31+
"emr-containers:DescribeJobRun",
32+
"emr-containers:CancelJobRun"
33+
],
34+
"Resource": "*"
35+
},
36+
{
37+
"Effect": "Allow",
38+
"Action": [
39+
"emr-containers:DescribeJobRun",
40+
"emr-containers:TagResource",
41+
"elasticmapreduce:CreatePersistentAppUI",
42+
"elasticmapreduce:DescribePersistentAppUI",
43+
"elasticmapreduce:GetPersistentAppUIPresignedURL"
44+
],
45+
"Resource": "*"
46+
},
47+
{
48+
"Effect": "Allow",
49+
"Action": [
50+
"s3:GetObject",
51+
"s3:ListBucket"
52+
],
53+
"Resource": "*"
54+
},
55+
{
56+
"Effect": "Allow",
57+
"Action": [
58+
"logs:Get*",
59+
"logs:DescribeLogGroups",
60+
"logs:DescribeLogStreams"
61+
],
62+
"Resource": "*"
63+
}
64+
]
65+
}

0 commit comments

Comments
 (0)