AI Cloud Architect

Secure AI agents with Policy in Amazon Bedrock AgentCore

AWSHow-to by Bharathi Srinivasan, Anil Nadiminti and Pushpinder DuaAWS Artificial Intelligence Blog

In this post, you will understand how Policy in Amazon Bedrock AgentCore creates a deterministic enforcement layer that operates independently of the agent’s own reasoning. You will learn how to turn natural language descriptions of your business rules into Cedar policies, then use those policies to enforce fine-grained, identity-aware controls so that agents only access the tools and data that their users are authorized to use. You will also see how to apply Policy through AgentCore Gateway…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

AgentCore Policy enforces Cedar rules at the gateway on every agent-to-tool call, so an agent cannot reach tools or data its user is not authorized for, regardless of its reasoning.

Who it is for

Architects in regulated industries such as healthcare who run agents on AgentCore Gateway and need auditable access controls on tools.

Key points

  • Policies can be written in Cedar directly, built with a form, or generated from plain English and checked against the gateway schema.
  • Rollout can start in LOG_ONLY mode before switching the policy engine to enforce mode.
  • The default is deny: a request with no matching permit is blocked, and forbid rules override permit.

The same at other vendors

Timeline

Posts about Amazon Bedrock AgentCore Policy, oldest first.

  1. Generally availablePolicy in Amazon Bedrock AgentCore is now generally available · AWS · Announcement
  2. This postSecure AI agents with Policy in Amazon Bedrock AgentCore
  3. Read nextSecure AI agents with Policy and Lambda interceptors in Amazon Bedrock AgentCore gateway · AWS · How-to

Go deeper