# Enforce an Amazon Bedrock guardrail on model inference (declarative policy)

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

Enforce an Amazon Bedrock guardrail on model inference (declarative policy) is an AWS guardrail written in declarative policies. References a versioned Amazon Bedrock Guardrail from the management account and applies it to inference calls in a Region for all models except the excluded ones.

```json
{
  "bedrock": {
    "guardrail_inference": {
      "us-east-1": {
        "config_1": {
          "identifier": {
            "@@assign": "arn:aws:bedrock:us-east-1:123456789012:guardrail/hu1dlsv9wy1d:1"
          },
          "selective_content_guarding": {
            "system": {
              "@@assign": "selective"
            },
            "messages": {
              "@@assign": "comprehensive"
            }
          },
          "model_enforcement": {
            "included_models": {
              "@@assign": [
                "ALL"
              ]
            },
            "excluded_models": {
              "@@assign": [
                "amazon.titan-embed-text-v2:0",
                "cohere.embed-english-v3"
              ]
            }
          }
        }
      }
    }
  }
}
```

- **Blocks:** References a versioned Amazon Bedrock Guardrail from the management account and applies it to inference calls in a Region for all models except the excluded ones.
- **Breaks:** The guardrail must be owned by the management account, must have a non-DRAFT version, and needs a resource-based policy allowing organization members to call ApplyGuardrail. ([source](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_bedrock_syntax.html))
- **Test before applying:** As for every Declarative policies guardrail: [how to test before enforcing](/mechanisms/declarative-policy/)
- **Mechanism:** [Declarative policies](/mechanisms/declarative-policy/): The configuration of a supported AWS service attribute in the accounts, OUs or organization they are attached to, including actions by service-linked roles.
- **Taken from:** [provider documentation](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_bedrock_syntax.html), provider documentation

## What the source says

"guardrail_inference: {" (read 10 Nov 2026).

On what it breaks: "The Guardrail must be owned by the Management account. You cannot create a policy using a Guardrail from another account."

## Related guardrails

- [Configure Cognitive Services accounts to disable public network access](/guardrails/azure-policy-ai-disable-public-network/): Azure, Azure Policy (built-in definitions), ai services
- [Configure Cognitive Services accounts to disable local authentication](/guardrails/azure-policy-ai-disable-local-auth/): Azure, Azure Policy (built-in definitions), ai services
- [Configure Azure AI Services resources to disable local key access](/guardrails/azure-policy-ai-disable-local-auth-dine/): Azure, Azure Policy (built-in definitions), ai services
- [Region deny that allows Bedrock cross-Region inference](/guardrails/aws-scp-region-deny-with-bedrock-cris/): AWS, Service control policies (SCPs), ai services
- [Allow only approved Amazon Bedrock models](/guardrails/aws-scp-bedrock-approved-models-only/): AWS, Service control policies (SCPs), ai services
- [Deny Amazon Bedrock API keys](/guardrails/aws-scp-deny-bedrock-api-keys/): AWS, Service control policies (SCPs), ai services

## Related pages

- [Opt out of AI service content use organization-wide (declarative policy) (AWS Declarative policies)](/guardrails/aws-declarative-ai-services-opt-out/)
- [Permissions boundary limiting a user to S3, CloudWatch and EC2 (AWS IAM permissions boundaries)](/guardrails/aws-pb-restrict-user-to-s3-cloudwatch-ec2/)
- [Permissions boundary for delegated IAM user creation (AWS IAM permissions boundaries)](/guardrails/aws-pb-delegated-user-creation-boundary/)

## Sources

- Enforce an Amazon Bedrock guardrail on model inference (declarative policy): https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_bedrock_syntax.html (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudgovernancetools.com/guardrails/aws-declarative-bedrock-guardrail-enforcement/
