File tree Expand file tree Collapse file tree 1 file changed +33
-30
lines changed Expand file tree Collapse file tree 1 file changed +33
-30
lines changed Original file line number Diff line number Diff line change 11{
22 "Version" : " 2012-10-17" ,
33 "Statement" : [
4- {
5- "Sid" : " RDS" ,
6- "Effect" : " Deny" ,
7- "Action" : [
8- " rds:CreateDBInstance"
9- ],
10- "Resource" : [
11- " *"
12- ],
13- "Condition" : {
14- "Bool" : {
15- "rds:StorageEncrypted" : " false"
16- }
17- }
18- },
19- {
20- "Sid" : " StatementForAurora" ,
21- "Effect" : " Deny" ,
22- "Action" : [
23- " rds:CreateDBCluster"
24- ],
25- "Resource" : [
26- " *"
27- ],
28- "Condition" : {
29- "Bool" : {
30- "rds:StorageEncrypted" : " false"
31- }
32- }
4+ {
5+ "Sid" : " StatementForNonAuroraRDS" ,
6+ "Effect" : " Deny" ,
7+ "Action" : [
8+ " rds:CreateDBInstance"
9+ ],
10+ "Resource" : [
11+ " *"
12+ ],
13+ "Condition" : {
14+ "ForAnyValue:StringNotLike" : {
15+ "rds:DatabaseEngine" : " aurora*"
16+ },
17+ "Bool" : {
18+ "rds:StorageEncrypted" : " false"
19+ }
3320 }
21+ },
22+ {
23+ "Sid" : " StatementForAurora" ,
24+ "Effect" : " Deny" ,
25+ "Action" : [
26+ " rds:CreateDBCluster"
27+ ],
28+ "Resource" : [
29+ " *"
30+ ],
31+ "Condition" : {
32+ "Bool" : {
33+ "rds:StorageEncrypted" : " false"
34+ }
35+ }
36+ }
3437 ]
35- }
38+ }
You can’t perform that action at this time.
0 commit comments