Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save nathairtras/ed843d0d34dcb12995106b3c9fced4e7 to your computer and use it in GitHub Desktop.

Select an option

Save nathairtras/ed843d0d34dcb12995106b3c9fced4e7 to your computer and use it in GitHub Desktop.

Revisions

  1. nathairtras created this gist Apr 15, 2016.
    25 changes: 25 additions & 0 deletions aws_policy_read_bucket_write_prefix.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "s3:Get*",
    "s3:List*"
    ],
    "Resource": [
    "arn:aws:s3:::BUCKET",
    "arn:aws:s3:::BUCKET/*"
    ]
    },
    {
    "Effect": "Allow",
    "Action": [
    "s3:*"
    ],
    "Resource": [
    "arn:aws:s3:::BUCKET/KEY/*"
    ]
    }
    ]
    }