Skip to content

Instantly share code, notes, and snippets.

@iamphilrae
Created July 5, 2017 12:47
Show Gist options
  • Select an option

  • Save iamphilrae/57cefe672821cfa9e43c3d45bc7dba1c to your computer and use it in GitHub Desktop.

Select an option

Save iamphilrae/57cefe672821cfa9e43c3d45bc7dba1c to your computer and use it in GitHub Desktop.

Revisions

  1. iamphilrae created this gist Jul 5, 2017.
    14 changes: 14 additions & 0 deletions AWS S3 Public Bucket Policy
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    {
    "Version":"2008-10-17",
    "Statement":[{
    "Sid":"AllowPublicRead",
    "Effect":"Allow",
    "Principal": {
    "AWS": "*"
    },
    "Action":["s3:GetObject"],
    "Resource":["arn:aws:s3:::bucket/*"
    ]
    }
    ]
    }