A gateway can check each tool call against deny by default policies written outside agent code. Temporal policies add session history, for example permitting a payment only after an approval for the same claim, or capping calls in a window. Note that a new session starts a new count.
Read in this order
- OfficialPolicy in Amazon Bedrock AgentCore (AWS docs)Overview of gateway interception, Cedar policies and audit logging of decisions.
- OfficialTemporal policies (AWS docs)Covers approval before action, count and sum limits, LOG_ONLY mode and session caveats.