<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kakku22</author_name>
  <author_url>https://blog.hatena.ne.jp/kakku22/</author_url>
  <blog_title>kakakakakku blog</blog_title>
  <blog_url>https://kakakakakku.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>API Gateway</anon>
    <anon>Lambda</anon>
    <anon>Powertools</anon>
  </categories>
  <description>Amazon API Gateway の Lambda オーソライザー（旧カスタムオーソライザー）を使ってアクセス制御をするときに Lambda オーソライザーの仕様に沿ったポリシーを出力する必要がある💡詳しくは以下のドキュメントに載っている． docs.aws.amazon.com 今まではドキュメントに載っているコードを参考に実装することが多かったけど，Powertools for AWS Lambda (Python) の Event Source Data Classes で APIGatewayAuthorizerResponse を使うと比較的簡単にポリシーを出力できて良かった❗️…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakakakakku.hatenablog.com%2Fentry%2F2024%2F03%2F18%2F083229&quot; title=&quot;Lambda オーソライザーのポリシーを簡単に出力できる Powertools for AWS Lambda (Python) の APIGatewayAuthorizerResponse - kakakakakku blog&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/k/kakku22/20240311/20240311143238.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-03-18 08:32:29</published>
  <title>Lambda オーソライザーのポリシーを簡単に出力できる Powertools for AWS Lambda (Python) の APIGatewayAuthorizerResponse</title>
  <type>rich</type>
  <url>https://kakakakakku.hatenablog.com/entry/2024/03/18/083229</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
