-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ranger-EMR-EC2-Role-AddPolicy.json
37 lines (37 loc) · 1.11 KB
/
Ranger-EMR-EC2-Role-AddPolicy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAssumeOfRolesAndTagging",
"Effect": "Allow",
"Action": [
"sts:TagSession",
"sts:AssumeRole"
],
"Resource": [
"arn:aws:iam::699962710372:role/RangerPluginDataAccessRole"
]
},
{
"Sid": "AllowSecretsRetrieval",
"Effect": "Allow",
"Action": "secretsmanager:GetSecretValue",
"Resource": [
"arn:aws:secretsmanager:ap-northeast-1:699962710372:secret:rangerplugin*",
"arn:aws:secretsmanager:ap-northeast-1:699962710372:secret:RangerAdminCert*"
]
},
{
"Sid": "CloudwatchLogsPermissions",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Effect": "Allow",
"Resource": [
"arn:aws:logs:ap-northeast-1:699962710372:log-group:RangerSpark:*"
]
}
]
}