Created
December 29, 2021 03:36
-
-
Save reaperes/a47e9ccbc46e2c27e32cde2d7ebc385b to your computer and use it in GitHub Desktop.
s3 ip allow policy
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": "IPAllow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Effect": "Allow", | |
"Action": [ | |
"s3:*" | |
], | |
"Resource": [ | |
"arn:aws:s3:::internal-marketplace.modulous.io/*" | |
], | |
"Condition" : { | |
"IpAddress" : { | |
"aws:SourceIp": "59.6.97.7/32" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment