Created
September 21, 2019 08:18
-
-
Save avishayil/c5312f987bd2d7f118e50bed4fcc0391 to your computer and use it in GitHub Desktop.
This IAM Policy denies any request if it doesn't originate from the explicitly mentioned IP address.
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": [ | |
{ | |
"Effect": "Deny", | |
"Action": "*", | |
"Resource": "*", | |
"Condition": { | |
"NotIpAddress": { | |
"aws:SourceIp": [ | |
"YOURIPADDRESS" | |
] | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment