-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathec2-role-policy.json.tpl
executable file
·99 lines (99 loc) · 2.33 KB
/
ec2-role-policy.json.tpl
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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "SSMAccess",
"Action": [
"ssm:Get*",
"ssm:Describe*",
"ssm:List*",
"ssm:CreateAssociation",
"ssm:UpdateAssociationStatus",
"ssm:UpdateInstanceInformation",
"ssm:UpdateInstanceAssociationStatus"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "S3Access",
"Action": [
"s3:GetObject"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "SQSAccess",
"Action": [
"sqs:DeleteMessage",
"sqs:ReceiveMessage"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "SNSAccess",
"Action": [
"sns:List*",
"sns:Get*",
"sns:Publish"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "EC2MessagesAccess",
"Action": [
"ec2messages:AcknowledgeMessage",
"ec2messages:DeleteMessage",
"ec2messages:FailMessage",
"ec2messages:GetEndpoint",
"ec2messages:GetMessages",
"ec2messages:SendReply"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "EC2Access",
"Action": [
"ec2:DescribeInstanceStatus"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "DSAccess",
"Action": [
"ds:CreateComputer",
"ds:DescribeDirectorie"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "CWLogsAccess",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:DescribeLogGroups",
"logs:DescribeLogStreams",
"logs:PutLogEvents"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "SSMMessagesAccess",
"Action": [
"ssmmessages:CreateControlChannel",
"ssmmessages:CreateDataChannel",
"ssmmessages:OpenControlChannel",
"ssmmessages:OpenDataChannel"
],
"Effect": "Allow",
"Resource": "*"
}
]
}