{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmattintosh-note.jp%2Fentry%2F20230929%2F1695913800\" title=\"CloudFront Functions\u3067\u30af\u30a8\u30ea\u4ed8\u304d\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 - mattintosh note\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["AWS","CloudFront","CloudFront Functions"],"description":"\u524d\u306b\u300c\u3053\u3046\u3044\u3046\u306e\u4f5c\u3063\u3066\u300d\u3063\u3066\u8a00\u308f\u308c\u3066\u4f5c\u3063\u3066\u30e1\u30e2\u3063\u3066\u305f\u3093\u3060\u3051\u3069\u4f55\u3084\u3063\u3066\u308b\u304b\u308f\u304b\u3089\u306a\u304f\u306a\u3063\u305f\u306e\u3067\u6574\u7406\u3002 CloudFront Functions \u3067\u5358\u7d14\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308b\u5834\u5408\u306f ${event.request.uri} \u3092\u5f15\u304d\u7d99\u3052\u3070\u826f\u3044\u3002 function handler (event) { var host = 'example.com'; var url = `https://${host}${event.request.uri}`; var response = { statusCode: 301, statusDescription: 'Moved Permanently', header\u2026","provider_name":"Hatena Blog","blog_url":"https://mattintosh-note.jp/","url":"https://mattintosh-note.jp/entry/20230929/1695913800","image_url":null,"author_name":"mattintosh4","title":"CloudFront Functions\u3067\u30af\u30a8\u30ea\u4ed8\u304d\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8","height":"190","version":"1.0","blog_title":"mattintosh note","author_url":"https://blog.hatena.ne.jp/mattintosh4/","type":"rich","published":"2023-09-29 00:10:00","provider_url":"https://hatena.blog","width":"100%"}