You must be logged in to view saved presets
An S3 Bucket policy that denies all access to the bucket if the specified VPC is not being used to access the S3 bucket.
{
"Version": "2012-10-17",
"Statement": [
{
"Principal": "*",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::/*",
"arn:aws:s3:::"
],
"Effect": "Deny",
"Condition": {
"StringNotEquals": {
"aws:sourceVpc": ""
}
}
}
]
}