Skip to content

Instantly share code, notes, and snippets.

@pipermerriam
Forked from rockymeza/django-strorages.json
Last active August 29, 2015 14:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pipermerriam/1ef5aa4d64d47c3774dd to your computer and use it in GitHub Desktop.
Save pipermerriam/1ef5aa4d64d47c3774dd to your computer and use it in GitHub Desktop.
{
   "Statement":[
      {
         "Effect":"Allow",
       
         "Action":[
            "s3:ListAllMyBuckets"
         ],
         "Resource":"arn:aws:s3:::*"
      },
      {
         "Effect":"Allow",
         "Action":[
            "s3:ListBucket",
            "s3:GetBucketLocation"
         ],
         "Resource":"arn:aws:s3:::bucket-name"
      },
      {
         "Effect":"Allow",
         "Action":[
            "s3:*Object*"
         ],
         "Resource":"arn:aws:s3:::bucket-name/*"
      }
   ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment