forked from awsdocs/aws-lambda-developer-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
console-iot.json
33 lines (33 loc) · 905 Bytes
/
console-iot.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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "IoTperms",
"Effect": "Allow",
"Action": [
"iot:GetTopicRule",
"iot:CreateTopicRule",
"iot:ReplaceTopicRule"
],
"Resource": "arn:aws:iot:us-east-2:123456789012:*"
},
{
"Sid": "IoTlistTopicRulePerms",
"Effect": "Allow",
"Action": [
"iot:ListTopicRules"
],
"Resource": "*"
},
{
"Sid": "LambdaPerms",
"Effect": "Allow",
"Action": [
"lambda:AddPermission",
"lambda:RemovePermission",
"lambda:GetPolicy"
],
"Resource": "arn:aws:lambda:us-east-2:123456789012:function:*"
}
]
}