writing-agentcore-policy - Author and validate AgentCore Gateway policies
Authors, validates, and submits Cedar and Dogwood policies for an Amazon Bedrock AgentCore Gateway.
Tags
Updated: 2026-12-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Discover Gateway targets
- Generate Cedar schemas
- Draft policy statements
- Split policy documents
- Mark inexpressible rules
- Repair failing drafts
- Validate policy statements
- Preview policy writes
- Submit approved policies
- Report service findings
Inputs
- Access requirements
- Natural-language policy documents
- Gateway context
- Local schema files
- AWS credentials
- Developer approval
Outputs
- Policy statements
- Generated Cedar schemas
- Validation findings
- Write previews
- Created or updated policies
- Final service status
Requirements
- Python 3.10+
- boto3 package
- cedarpy 4.12.2
- cedar-policy-mcp-schema-generator 0.6.1
- AWS credentials for discovery and submission
- Dogwood CLI 1.1.2 for local Dogwood checks
- Browser and local port 8765 for CUSTOM_JWT OAuth
