generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathLambdaRedshiftDataApiETLRole.json
More file actions
36 lines (36 loc) · 1.13 KB
/
LambdaRedshiftDataApiETLRole.json
File metadata and controls
36 lines (36 loc) · 1.13 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
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "redshift:GetClusterCredentials",
"Resource": [
"arn:aws:redshift:us-west-2:123456789012:cluster:redshift-cluster-1",
"arn:aws:redshift:us-west-2:123456789012:dbname:redshift-cluster-1/dev",
"arn:aws:redshift:us-west-2:123456789012:dbuser:redshift-cluster-1/awsuser"
]
},
{
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents",
"redshift-data:ExecuteStatement",
"redshift-data:ListStatements",
"redshift-data:GetStatementResult",
"redshift-data:DescribeStatement"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"sns:Publish"
],
"Resource": [
"arn:aws:sns:us-west-2:123456789012:redshift-notification-sns-topic"
],
"Effect": "Allow"
}
]
}