{"id":1173,"date":"2019-06-20T16:01:39","date_gmt":"2019-06-20T13:01:39","guid":{"rendered":"https:\/\/artem.services\/?p=1173"},"modified":"2019-06-25T18:12:57","modified_gmt":"2019-06-25T15:12:57","slug":"iam-policy-cloudfront-createinvalidation","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=1173","title":{"rendered":"IAM Policy &#8212; CloudFront CreateInvalidation"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"size-full wp-image-214 aligncenter\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo.png\" alt=\"\" width=\"975\" height=\"450\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo.png 975w, https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo-300x138.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo-768x354.png 768w, https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo-954x440.png 954w\" sizes=\"(max-width: 975px) 100vw, 975px\" \/><\/p>\n<p><strong>AIM Policy<\/strong> \u0434\u043b\u044f \u0438\u043d\u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043a\u0435\u0448\u0430 <strong>CloudFront<\/strong>&#39;\u0430<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n{\r\n    &quot;Version&quot;: &quot;2012-10-17&quot;,\r\n    &quot;Statement&quot;: [\r\n        {\r\n            &quot;Effect&quot;: &quot;Allow&quot;,\r\n            &quot;Action&quot;: &quot;s3:ListAllMyBuckets&quot;,\r\n            &quot;Resource&quot;: &quot;arn:aws:s3:::MY_S3_BUCKET&quot;\r\n        },\r\n        {\r\n            &quot;Action&quot;: [\r\n                &quot;cloudfront:CreateInvalidation&quot;,\r\n                &quot;cloudfront:GetDistribution&quot;,\r\n                &quot;cloudfront:GetStreamingDistribution&quot;,\r\n                &quot;cloudfront:GetDistributionConfig&quot;,\r\n                &quot;cloudfront:GetInvalidation&quot;,\r\n                &quot;cloudfront:ListInvalidations&quot;,\r\n                &quot;cloudfront:ListStreamingDistributions&quot;,\r\n                &quot;cloudfront:ListDistributions&quot;\r\n            ],\r\n            &quot;Effect&quot;: &quot;Allow&quot;,\r\n            &quot;Resource&quot;: &quot;*&quot;\r\n        }\r\n    ]\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>AIM Policy \u0434\u043b\u044f \u0438\u043d\u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043a\u0435\u0448\u0430 CloudFront&#39;\u0430<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[24],"tags":[25,919,921,643],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1173"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1173"}],"version-history":[{"count":3,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1173\/revisions"}],"predecessor-version":[{"id":1197,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1173\/revisions\/1197"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}