Created
September 12, 2021 21:50
-
-
Save beabetterdevv/e8a8eda3723882bd55200e284c2794a3 to your computer and use it in GitHub Desktop.
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": "Allow", | |
"Principal": "*", | |
"Action": "execute-api:Invoke", | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Deny", | |
"Principal": "*", | |
"Action": "execute-api:Invoke", | |
"Resource": "*", | |
"Condition": { | |
"NotIpAddress": { | |
"aws:SourceIp": "1.2.3.4" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment