forked from kunal-bham/access911
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlambda-geocoding-policy.json
More file actions
52 lines (52 loc) · 1.11 KB
/
lambda-geocoding-policy.json
File metadata and controls
52 lines (52 loc) · 1.11 KB
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
51
52
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowGeocoding",
"Effect": "Allow",
"Action": [
"geo:SearchPlaceIndexForText",
"geo:SearchPlaceIndexForPosition"
],
"Resource": [
"arn:aws:geo:us-east-1:*:place-index/elevenlabs-place-index"
]
},
{
"Sid": "AllowDynamoDB",
"Effect": "Allow",
"Action": [
"dynamodb:PutItem",
"dynamodb:GetItem",
"dynamodb:UpdateItem",
"dynamodb:Query"
],
"Resource": [
"arn:aws:dynamodb:us-east-1:*:table/elevenlabs-call-data"
]
},
{
"Sid": "AllowS3",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::elevenlabs-webhooks/*"
]
},
{
"Sid": "AllowCloudWatchLogs",
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": [
"arn:aws:logs:us-east-1:*:log-group:/aws/lambda/elevenlabs-webhook-handler:*"
]
}
]
}