forked from awsdocs/aws-lambda-developer-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
console-sns.json
35 lines (35 loc) · 1019 Bytes
/
console-sns.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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "SNSPerms",
"Effect": "Allow",
"Action": [
"sns:ListSubscriptions",
"sns:ListSubscriptionsByTopic",
"sns:ListTopics",
"sns:Subscribe",
"sns:Unsubscribe"
],
"Resource": "arn:aws:sns:us-east-2:123456789012:*"
},
{
"Sid": "AddPermissionToFunctionPolicy",
"Effect": "Allow",
"Action": [
"lambda:AddPermission",
"lambda:RemovePermission",
"lambda:GetPolicy"
],
"Resource": "arn:aws:lambda:us-east-2:123456789012:function:*"
},
{
"Sid": "LambdaListESMappingsPerms",
"Effect": "Allow",
"Action": [
"lambda:ListEventSourceMappings"
],
"Resource": "*"
}
]
}