Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"Version":"2012-10-17",
"Id":"AndyAWSBlogS3CloudFrontPolicy",
"Statement":[
{
"Sid":" Grant a CloudFront Origin Identity access to support access to the bucket",
"Effect":"Allow",
"Principal":{"CanonicalUser":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},
"Action":["s3:GetObject","s3:ListBucket"],
"Resource":["arn:aws:s3:::myblog/*", "arn:aws:s3:::myblog"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment