Skip to content

Instantly share code, notes, and snippets.

@joelparker
Last active May 16, 2016 14:37

Revisions

  1. joelparker revised this gist Nov 18, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@
    "s3:PutLifecycleConfiguration"
    ],
    "Resource": [
    "arn:aws:s3:::BUCKET-NAME"
    "arn:aws:s3:::ARQ-BUCKET-NAME"
    ]
    },
    {
    @@ -21,7 +21,7 @@
    "s3:*"
    ],
    "Resource": [
    "arn:aws:s3:::BUCKET-NAME/*"
    "arn:aws:s3:::ARQ-BUCKET-NAME/*"
    ]
    }
    ]
  2. joelparker created this gist Nov 18, 2014.
    28 changes: 28 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Sid": "Stmt1416260474000",
    "Effect": "Allow",
    "Action": [
    "s3:CreateBucket",
    "s3:GetLifecycleConfiguration",
    "s3:ListBucket",
    "s3:PutLifecycleConfiguration"
    ],
    "Resource": [
    "arn:aws:s3:::BUCKET-NAME"
    ]
    },
    {
    "Sid": "Stmt1416260680000",
    "Effect": "Allow",
    "Action": [
    "s3:*"
    ],
    "Resource": [
    "arn:aws:s3:::BUCKET-NAME/*"
    ]
    }
    ]
    }