Created
October 18, 2020 12:44
-
-
Save flackjap/9790c0a27375f791b9ed140a15cbb05e to your computer and use it in GitHub Desktop.
CloudFront Origin Access Bucket 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": "2008-10-17", | |
"Id": "PolicyForCloudFrontPrivateContent", | |
"Statement": [ | |
{ | |
"Sid": "1", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E336V70R8E3QKE" | |
}, | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::my-s3-001/*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment