AI & Machine Learning

Writing AgentCore Policy

Authors, validates and submits Amazon Bedrock AgentCore Policy statements (Cedar and Dogwood) for an AgentCore Gateway. Discovers the Gateway's targets and tools, generates the Gateway's Cedar schema, drafts permit/forbid, guardrail and temporal policies from access requirements or from a whole natural-language policy document (splitting it into rules, marking the rules that cannot be expressed, and repairing failing drafts in batches), checks them locally (syntax, schema, API limits, claim and guardrail pitfalls), and creates or updates them in a policy engine after explicit developer approval, reporting the final status and service findings. Use when a developer wants to write, translate, fix, validate or submit AgentCore Gateway policies, convert a policy document or a list of rules into policies, restrict which users or roles can call Gateway tools, add Bedrock guardrail or session-history (temporal) conditions, or resolve CreatePolicy/UpdatePolicy failures.

Publisher / source
aws/agent-toolkit-for-aws (found on skills.sh)
Upstream record
aws/agent-toolkit-for-aws
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
4d0ac30244eba940d20ec086883e95cadcd89b1fc762834866a994d9f529ee05