<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ksby</author_name>
  <author_url>https://blog.hatena.ne.jp/ksby/</author_url>
  <blog_title>かんがるーさんの日記</blog_title>
  <blog_url>https://ksby.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>概要 記事一覧はこちらです。 moto を利用したユニットテストが成功しなくなるので boto3 のインスタンス生成を Lambda のハンドラー関数内で行うようにしていましたが、aws-lambda-powertools を試してみる（Tracer＆X-Ray 編その２） で boto3 のインスタンス生成をグローバルで行った方が処理にかかる時間が短くなることが判明したため、boto3 のインスタンス生成をグローバルで行っても moto を利用したユニットテストが成功する方法を調べることにします。 今回は resize-image-app-project プロジェクトで作成した AWS La…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fksby.hatenablog.com%2Fentry%2F2020%2F07%2F07%2F001040&quot; title=&quot;boto3 のインスタンス生成をグローバルで行っても moto を利用したユニットテストを成功させるには？ - かんがるーさんの日記&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/ksby/20200707/20200707000454.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-07 00:10:40</published>
  <title>boto3 のインスタンス生成をグローバルで行っても moto を利用したユニットテストを成功させるには？</title>
  <type>rich</type>
  <url>https://ksby.hatenablog.com/entry/2020/07/07/001040</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
