Add policies to the Policy Engine
You can create one or more policies in your policy engine to control how agents interact with your enterprise tools and data through Amazon Bedrock AgentCore Gateway.
Note
Use the policy engine ID from the previous step. The validation mode controls how findings are handled. Schema checks always run regardless of the validation mode. FAIL_ON_ANY_FINDINGS runs both schema checks and semantic validation, rejecting the policy if either produces findings. IGNORE_ALL_FINDINGS runs only schema checks, and policies are accepted as long as they pass. For more information about validation and the types of findings, see Validate and test policies.
Note
If the new policy is a temporal policy, adding it invalidates the engine’s active temporal policy sessions. In-flight sessions return an HTTP 409 ConflictException and must be restarted. For more information, see Session invalidation.
Select one of the following methods: