-
Notifications
You must be signed in to change notification settings - Fork 4
/
AWS-Lambda-Trigger.policy
50 lines (50 loc) · 1.15 KB
/
AWS-Lambda-Trigger.policy
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
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": "arn:aws:s3:::*/AWSLogs/*/Config/*"
},
{
"Effect": "Allow",
"Action": [
"ec2:RunInstance",
"ec2:*"
],
"Resource": "arn:aws:ec2:*"
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateTags"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "arn:aws:iam::757505437733:role/puiterwijk-atomic"
},
{
"Effect": "Allow",
"Action": [
"config:Put*"
],
"Resource": "*"
}
]
}