Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save unloadedroe/1047c79aa4de9dde44fb2f9d96484990 to your computer and use it in GitHub Desktop.
Save unloadedroe/1047c79aa4de9dde44fb2f9d96484990 to your computer and use it in GitHub Desktop.

Revisions

  1. @chusiang chusiang renamed this gist Aug 9, 2016. 1 changed file with 0 additions and 0 deletions.
  2. @chusiang chusiang revised this gist Aug 9, 2016. No changes.
  3. @chusiang chusiang created this gist Aug 5, 2016.
    24 changes: 24 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": "s3:ListAllMyBuckets",
    "Resource": "arn:aws:s3:::MyBucketName"
    },
    {
    "Action": [
    "cloudfront:CreateInvalidation",
    "cloudfront:GetDistribution",
    "cloudfront:GetStreamingDistribution",
    "cloudfront:GetDistributionConfig",
    "cloudfront:GetInvalidation",
    "cloudfront:ListInvalidations",
    "cloudfront:ListStreamingDistributions",
    "cloudfront:ListDistributions"
    ],
    "Effect": "Allow",
    "Resource": "*"
    }
    ]
    }