-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodepipeline-role.json
59 lines (54 loc) · 1.66 KB
/
codepipeline-role.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "codebuild:*",
"Resource": "*"
},
{
"Sid": "SidCodeStarConnections",
"Effect": "Allow",
"Resource": [
"arn:aws:codestar-connections:us-west-2:111111:connection*",
"arn:aws:codeconnections:us-west-2:111111:connection*"
],
"Action": [
"codestar-connections:GetConnectionToken",
"codestar-connections:GetConnection",
"codestar-connections:UseConnection",
"codeconnections:GetConnectionToken",
"codeconnections:GetConnection",
"codeconnections:UseConnection"
]
},
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": [
"arn:aws:logs:us-east-1:111111:log-group:/aws/codepipeline/*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:PutObjectAcl",
"s3:PutObjectVersionAcl",
"s3:GetBucketVersioning",
"s3:GetBucketAcl",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::codepipeline-us-west-2-111111",
"arn:aws:s3:::codepipeline-us-west-2-111111/*"
]
}
]
}