AIM Policy для инвалидации кеша CloudFront'а
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "s3:ListAllMyBuckets", "Resource": "arn:aws:s3:::MY_S3_BUCKET" }, { "Action": [ "cloudfront:CreateInvalidation", "cloudfront:GetDistribution", "cloudfront:GetStreamingDistribution", "cloudfront:GetDistributionConfig", "cloudfront:GetInvalidation", "cloudfront:ListInvalidations", "cloudfront:ListStreamingDistributions", "cloudfront:ListDistributions" ], "Effect": "Allow", "Resource": "*" } ] }