Skip to content

Instantly share code, notes, and snippets.

@rajankur
Created May 8, 2019 18:10
Show Gist options
  • Save rajankur/55feca468412b28f33daebe60b6aef23 to your computer and use it in GitHub Desktop.
Save rajankur/55feca468412b28f33daebe60b6aef23 to your computer and use it in GitHub Desktop.
AWS - S3 Bucket Policy for Public
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PublicReadForGetBucketObjects",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::[BUCKET_NAME]/*"
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment