<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swx-yamamoto</author_name>
  <author_url>https://blog.hatena.ne.jp/swx-yamamoto/</author_url>
  <blog_title>サーバーワークスエンジニアブログ</blog_title>
  <blog_url>https://blog.serverworks.co.jp/</blog_url>
  <categories>
    <anon>Amazon Bedrock AgentCore</anon>
  </categories>
  <description>はじめに 今回の結論（先に3行で） Guardrails とは — 目的・背景と Cedar Policy との違い 背景（おさらい） Cedar Policy と Guardrails は「守るレイヤー」が違う 具体的にどんな指示を止めるのか guardrail に定義する中身（指定する4つの要素） 概要図: 同じ境界で「認可」→「コンテンツ安全」の二段 検証環境 Guardrails の前提（運用面） 作成するポリシーと解説 スコープ（forbid の括弧内） guardrail 条件（when guardrails の中身） [&quot;PROMPT_INJECTION&quot;] が 2 回出てくる理…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Fagentcore_guardrails&quot; title=&quot;AgentCore Policy に来た Guardrails を IAM 認証ゲートウェイで動かす（プロンプトインジェクションをゲートウェイで止める） - サーバーワークスエンジニアブログ&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/s/swx-yamamoto/20260627/20260627132321.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-27 13:24:27</published>
  <title>AgentCore Policy に来た Guardrails を IAM 認証ゲートウェイで動かす（プロンプトインジェクションをゲートウェイで止める）</title>
  <type>rich</type>
  <url>https://blog.serverworks.co.jp/agentcore_guardrails</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
