Manage Bucket access
{
"Version": "2012-10-17",
"Id": "OnlyInternal",
"Statement": [
{
"Condition": {
"NotIpAddress": {
"aws:SourceIp": [
"10.0.0.0/8",
"192.168.0.0/16"
]
}
},
"Action": "s3:*",
"Resource": [
"<bucket>/*",
"<bucket>"
],
"Effect": "Deny",
"Principal": "*",
"Sid": "BlockExternal"
}
]
}CIDR notation
Last updated

