<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>AWS</anon>
  </categories>
  <description>一旦こういうアレ。 test-log/1/2/3/ 以下のディレクトリにだけアクセスしたい。他のバケットは見えないでいて欲しい。という感じのやつ。 つまりどういうことかっていうと、たとえば以下の様な感じでバケットの一覧があるとして、 aws s3 ls s3:// test-log test-test1 test-test2 test-test3 test-log/1/2/3以外はユーザーから見えないようにしたいっていう寸法。それはこんな感じ。出尽くしたネタだけど。 { &quot;Version&quot;: &quot;2012-10-17&quot;, &quot;Statement&quot;: [ { &quot;Effect&quot;: &quot;Allow&quot;, &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Fs3_iam_policy&quot; title=&quot;IAMポリシーでS3アクセスを制御したい人生だった - by shigemk2&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-08-29 22:34:19</published>
  <title>IAMポリシーでS3アクセスを制御したい人生だった</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/s3_iam_policy</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
