Created
August 4, 2019 13:28
-
-
Save norbinsh/0ee4ddeb367f93bd2c040e4813cf1ec7 to your computer and use it in GitHub Desktop.
DenyAllOutsideEUWEST1ExceptGlobalServices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "DenyAllOutsideEUWEST1ExceptGlobalServices", | |
"Effect": "Deny", | |
"NotAction": [ | |
"iam:*", | |
"organizations:*", | |
"route53:*", | |
"budgets:*", | |
"waf:*", | |
"cloudfront:*", | |
"globalaccelerator:*", | |
"importexport:*", | |
"support:*", | |
"aws-portal:*", | |
"sts:*", | |
"s3:ListAllMyBuckets", | |
"s3:GetBucketLocation", | |
"directconnect:*", | |
"cur:*", | |
"artifact:*", | |
"resource-groups:*", | |
"tag:*", | |
"trustedadvisor:*", | |
"chime:*" | |
], | |
"Resource": "*", | |
"Condition": { | |
"StringNotEquals": { | |
"aws:RequestedRegion": [ | |
"eu-west-1" | |
] | |
} | |
} | |
}, | |
{ | |
"Sid": "AllowAllEUWEST1", | |
"Effect": "Allow", | |
"Action": "*", | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment