Skip to content
Cloud Governance Tools

Allow only approved Amazon Bedrock models

Allow only approved Amazon Bedrock models is an AWS guardrail written in service control policies. Denies bedrock:InvokeModel, InvokeModelWithResponseStream and PutFoundationModelEntitlement for any foundation model outside the approved identifier pattern, and covers bedrock-mantle models in a second statement. Copied from a licensed open source set and read on 10 Nov 2026.

More ai services guardrails ยท About Service control policies

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "DenyUsageOfModelsWithBedrock",
      "Effect": "Deny",
      "Action": [
        "bedrock:InvokeModel",
        "bedrock:InvokeModelWithResponseStream",
        "bedrock:PutFoundationModelEntitlement"
      ],
      "NotResource": "arn:aws:bedrock:*::foundation-model/<unique-identifier>.*"
    },
    {
      "Sid": "DenyUsageOfModelsWithBedrockMantle",
      "Effect": "Deny",
      "Action": "bedrock-mantle:*",
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "bedrock-mantle:Model": "<model-identifier>"
        }
      }
    }
  ]
}
Blocks
Denies bedrock:InvokeModel, InvokeModelWithResponseStream and PutFoundationModelEntitlement for any foundation model outside the approved identifier pattern, and covers bedrock-mantle models in a second statement.
Breaks
Users cannot invoke or subscribe to any model not matched by the approved entry; the placeholders must be replaced with a provider or model identifier before use. (source)
Test before applying
As for every Service control policies guardrail: how to test before enforcing
Mechanism
Service control policies (SCPs): IAM users, IAM roles and the root user in member accounts; not the management account and not service-linked roles.
Taken from
open source set, MIT-0 (README states MIT-0; LICENSE file fetched, MIT-0 text, Copyright Amazon.com, Inc.): https://raw.githubusercontent.com/aws-samples/service-control-policy-examples/main/LICENSE

What the policy text names

It names 4 actions or patterns: bedrock:InvokeModel, bedrock:InvokeModelWithResponseStream, bedrock:PutFoundationModelEntitlement, bedrock-mantle:*. Its conditions test bedrock-mantle:Model.

What the source says

DenyUsageOfModelsWithBedrock (read 10 Nov 2026).

On what it breaks: "Restrict users and roles from invoking and subscribing to the unapproved Bedrock foundation models."

Sources

  1. Allow only approved Amazon Bedrock models, read 10 Nov 2026
  2. What it breaks, read 10 Nov 2026
  3. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.