{"height":"190","published":"2022-05-15 22:34:51","author_name":"celeron1ghz","blog_title":"\u30c4\u30fc","description":"\u3060\u3044\u305f\u3044\u306fAWS\u306e\u516c\u5f0f\u30d6\u30ed\u30b0\u306e\u901a\u308a\u3002 \u4e0a\u8a18\u306b\u66f8\u3044\u3066\u306a\u304f\u3066\u30cf\u30de\u3063\u305f\u3053\u3068\u304c2\u70b9\u3002 bucket policy\u306bGetObject\u3060\u3051\u3058\u3083\u306a\u304f\u3066ListObject\u304c\u306a\u3044\u3068403\u304c\u51fa\u3066\u6df7\u4e71\u3059\u308b \u4e0a\u8a18\u306eAWS\u30d6\u30ed\u30b0\u306b\u3042\u308b\u3084\u3064\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3068404\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u30ea\u30b5\u30a4\u30ba\u306e\u51e6\u7406\u3092\u8d70\u3089\u305b\u3066\u3044\u308b\u3002 s3\u306e\u30d5\u30a1\u30a4\u30eb\u306f GetObject \u3060\u3051\u3057\u304b\u3057\u3066\u306a\u3044\u304b\u3089\u305d\u308c\u3060\u3051\u6a29\u9650\u3042\u308c\u3070\u3044\u3044\u3084\u308d\u30fc\u30fc\u3068s3\u306ebucket policy\u306b\u305d\u3046\u3044\u3046\u8a2d\u5b9a\u3092\u3059\u308b\u3068 data \"aws_iam_policy_document\" \"bucket-policy\" { statement { sid = \"1\" effect = \"\u2026","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fceleron1ghz.hatenablog.com%2Fentry%2F2022%2F05%2F15%2F223451\" title=\"CloudFront+lambda@edge\u3067\u30aa\u30f3\u30c7\u30de\u30f3\u30c9\u3067\u753b\u50cf\u306e\u30ea\u30b5\u30a4\u30ba\u3057\u3066\u304f\u308c\u308b\u3084\u3064\u3092\u4f5c\u308b - \u30c4\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","version":"1.0","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://celeron1ghz.hatenablog.com/","url":"https://celeron1ghz.hatenablog.com/entry/2022/05/15/223451","author_url":"https://blog.hatena.ne.jp/celeron1ghz/","type":"rich","title":"CloudFront+lambda@edge\u3067\u30aa\u30f3\u30c7\u30de\u30f3\u30c9\u3067\u753b\u50cf\u306e\u30ea\u30b5\u30a4\u30ba\u3057\u3066\u304f\u308c\u308b\u3084\u3064\u3092\u4f5c\u308b"}