<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amegaeru</author_name>
  <author_url>https://blog.hatena.ne.jp/amegaeru/</author_url>
  <blog_title>あめがえるのITブログ</blog_title>
  <blog_url>https://amegaeru.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>CloudFront＋APIGatewayの構成で送信元をCloudFrontのみに制限する場合に、APIGatewayにWAFを設定し、カスタムヘッダーで制限するのが一般的らしいのでやってみた。 やること terraformで下記を実施。 CloudFront+APIGatewayを作り、APIGatewayにWAFをアタッチ CloudFrontにカスタムヘッダーを設定 WAFにカスタムヘッダーを含まないHTTPリクエストはブロックするルールを設定 構成 実践！ １．環境作成 １－１．下記を実行し、コードを作成 # vi main.tf provider &quot;aws&quot; { region = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famegaeru.hatenablog.jp%2Fentry%2F2023%2F11%2F27%2F000000&quot; title=&quot;AWS CloudFront+APIGateway(WAF)でカスタムヘッダーで接続元を制限してみた - あめがえるのITブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/amegaeru/20231124/20231124084549.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-27 00:00:00</published>
  <title>AWS CloudFront+APIGateway(WAF)でカスタムヘッダーで接続元を制限してみた</title>
  <type>rich</type>
  <url>https://amegaeru.hatenablog.jp/entry/2023/11/27/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
