forked from glassechidna/trackiam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAPIGatewayServiceRolePolicy.json
107 lines (107 loc) · 3.31 KB
/
APIGatewayServiceRolePolicy.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"Arn": "arn:aws:iam::aws:policy/aws-service-role/APIGatewayServiceRolePolicy",
"CreateDate": "2017-10-20T17:23:10Z",
"DefaultVersionId": "v8",
"IsAttachable": true,
"Path": "/aws-service-role/",
"PolicyId": "ANPAJQQDZNLDBF2ULTWK6",
"PolicyName": "APIGatewayServiceRolePolicy",
"PolicyVersion": {
"CreateDate": "2020-02-25T20:24:49Z",
"Document": {
"Statement": [
{
"Action": "ec2:CreateTags",
"Condition": {
"ForAllValues:StringEquals": {
"aws:TagKeys": [
"Owner",
"VpcLinkId"
]
}
},
"Effect": "Allow",
"Resource": "arn:aws:ec2:*:*:network-interface/*"
},
{
"Action": "ec2:CreateNetworkInterfacePermission",
"Effect": "Allow",
"Resource": "arn:aws:ec2:*:*:network-interface/*"
},
{
"Action": "servicediscovery:GetNamespace",
"Effect": "Allow",
"Resource": "arn:aws:servicediscovery:*:*:namespace/*"
},
{
"Action": "servicediscovery:GetService",
"Effect": "Allow",
"Resource": "arn:aws:servicediscovery:*:*:service/*"
},
{
"Action": [
"acm:DescribeCertificate"
],
"Effect": "Allow",
"Resource": "arn:aws:acm:*:*:certificate/*"
},
{
"Action": [
"ec2:AssignPrivateIpAddresses",
"ec2:CreateNetworkInterface",
"ec2:DeleteNetworkInterface",
"ec2:DeleteNetworkInterfacePermission",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeNetworkInterfaceAttribute",
"ec2:DescribeNetworkInterfacePermissions",
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeRouteTables",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:UnassignPrivateIpAddresses"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"elasticloadbalancing:AddListenerCertificates",
"elasticloadbalancing:DescribeListeners",
"elasticloadbalancing:DescribeLoadBalancers",
"elasticloadbalancing:ModifyListener",
"elasticloadbalancing:RemoveListenerCertificates",
"logs:CreateLogDelivery",
"logs:DeleteLogDelivery",
"logs:GetLogDelivery",
"logs:ListLogDeliveries",
"logs:UpdateLogDelivery",
"servicediscovery:DiscoverInstances",
"xray:GetSamplingRules",
"xray:GetSamplingTargets",
"xray:PutTelemetryRecords",
"xray:PutTraceSegments"
],
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"firehose:DescribeDeliveryStream",
"firehose:PutRecord",
"firehose:PutRecordBatch"
],
"Effect": "Allow",
"Resource": "arn:aws:firehose:*:*:deliverystream/amazon-apigateway-*"
}
],
"Version": "2012-10-17"
},
"IsDefaultVersion": true,
"VersionId": "v8"
},
"UpdateDate": "2020-02-25T20:24:49Z"
}