Created
July 24, 2019 04:29
-
-
Save 100daysofdevops/68272ce1008009beed33e97dcaadf920 to your computer and use it in GitHub Desktop.
This file contains hidden or 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", | |
| "Id": "Policy1415115909152", | |
| "Statement": [ | |
| { | |
| "Sid": "Access-to-specific-VPCE-only", | |
| "Principal": "*", | |
| "Action": "s3:*", | |
| "Effect": "Deny", | |
| "Resource": ["arn:aws:s3:::examplebucket", | |
| "arn:aws:s3:::examplebucket/*"], | |
| "Condition": { | |
| "StringNotEquals": { | |
| "aws:sourceVpce": "vpce-1a2b3c4d" | |
| } | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment