Forked from chusiang/cloudfront_create_invalidation_policy.json
Created
October 23, 2018 11:35
-
-
Save unloadedroe/1047c79aa4de9dde44fb2f9d96484990 to your computer and use it in GitHub Desktop.
AWS IAM policy of CloudFront Create Invalidation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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": "*" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment