forked from DShreya/stage3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iam policy.json
103 lines (103 loc) · 4.21 KB
/
iam policy.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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor1",
"Effect": "Deny",
"Action": [
"route53domains:TransferDomain",
"elasticache:PurchaseReservedCacheNodesOffering",
"importexport:*",
"rds:PurchaseReservedDBInstancesOffering",
"devicefarm:ScheduleRun",
"elasticache:DescribeReservedCacheNodesOfferings",
"ec2:ModifySpotFleetRequest",
"iam:SimulateCustomPolicy",
"iam:DetachGroupPolicy",
"ec2:DescribeReservedInstancesListings",
"iam:PutGroupPolicy",
"ec2:CreateReservedInstancesListing",
"ec2:DescribeSpotFleetRequestHistory",
"rds:DescribeReservedDBInstances",
"ec2:CancelSpotInstanceRequests",
"iam:UpdateServerCertificate",
"ec2:DescribeReservedInstancesModifications",
"ce:*",
"ec2:DeleteSpotDatafeedSubscription",
"devicefarm:UpdateDevicePool",
"ec2:RequestSpotFleet",
"ec2:DescribeSpotInstanceRequests",
"rds:DescribeReservedDBInstancesOfferings",
"devicefarm:PurchaseOffering",
"ec2:CreateSpotDatafeedSubscription",
"iam:ResyncMFADevice",
"iam:DeleteAccountAlias",
"iam:UpdateSAMLProvider",
"ec2:ModifyReservedInstances",
"iam:DeleteInstanceProfile",
"iam:DeleteUser",
"iam:AttachGroupPolicy",
"iam:PutUserPolicy",
"iam:Set'arn:aws:iam::156962844638:role/democdbtrack'PolicyVersion",
"elasticache:DescribeReservedCacheNodes",
"savingsplans:*",
"iam:DeleteGroup",
"route53domains:RenewDomain",
"waf-regional:List*",
"devicefarm:RenewOffering",
"ec2:GetHostReservationPurchasePreview",
"iam:UpdateGroup",
"iam:CreateLoginProfile",
"iam:SimulatePrincipalPolicy",
"ec2:DescribeSpotDatafeedSubscription",
"iam:CreateAccountAlias",
"ec2:DescribeReservedInstances",
"iam:DetachUserPolicy",
"iam:UpdateLoginProfile",
"iam:UpdateUser",
"ec2:DescribeReservedInstancesOfferings",
"iam:DeleteUserPolicy",
"iam:AttachUserPolicy",
"ec2:GetReservedInstancesExchangeQuote",
"iam:DeleteSigningCertificate",
"iam:UpdateAccountPasswordPolicy",
"route53domains:RegisterDomain",
"ec2:RequestSpotInstances",
"ec2:PurchaseReservedInstancesOffering",
"ec2:CancelSpotFleetRequests",
"iam:DeletePolicy",
"aws-marketplace:Subscribe",
"iam:CreateVirtualMFADevice",
"ec2:DescribeSpotPriceHistory",
"iam:RemoveUserFromGroup",
"iam:CreatePolicyVersion",
"iam:DeleteLoginProfile",
"iam:UploadSigningCertificate",
"iam:DeleteAccountPasswordPolicy",
"ec2:DescribeSpotFleetRequests",
"ec2:DescribeSpotFleetInstances",
"ec2:AcceptReservedInstancesExchangeQuote",
"iam:DeleteGroupPolicy",
"ec2:CancelReservedInstancesListing",
"iam:DeletePolicyVersion"
],
"Resource": "*"
},
{
"Sid": "limitedSize",
"Effect": "Deny",
"Action": "ec2:*",
"Resource": "*",
"Condition": {
"ForAnyValue:StringNotLike": {
"ec2:InstanceType": [
"*.nano",
"*.small",
"*.micro",
"*.medium"
]
}
}
}
]
}