What is Amazon Bedrock Guardrails?
Amazon Bedrock Guardrails is an AI safety service that implements a configurable protection layer between user inputs and foundation model outputs. Enterprises operating generative AI applications need to reliably control language model behavior and ensure outputs comply with internal policies, regulatory requirements, and brand values. Guardrails addresses these requirements without modifying the underlying model and can be used both during inference and independently via the ApplyGuardrail API.
Core Features
- Content Filters: Detect and block harmful text or image content in the categories Hate, Insults, Sexual, Violence, Misconduct, and Prompt Attack, with separately configurable thresholds per category.
- Denied Topics: Topic areas are described in natural language and blocked in both requests and responses, regardless of the foundation model.
- Word Filters: Block exact, custom-defined terms and phrases, such as competitor names or profanity.
- Sensitive Information Filter: Detects personally identifiable information such as names, addresses, or social security numbers probabilistically and via custom regex patterns, with options to mask or block.
- Contextual Grounding and Automated Reasoning Checks: Verify model responses against provided source context or against a set of logical rules to detect hallucinations and unstated assumptions.
Typical Use Cases
Chatbots and customer service: Harmful user inputs and toxic model responses are filtered before reaching the end user.
Regulated industries: A banking application can block requests or responses containing prohibited investment advice, for example via Denied Topics.
Call center summaries: Personally identifiable information in conversation transcripts is automatically masked to protect customer privacy.
RAG applications: Contextual Grounding Checks ensure responses are based only on retrieved sources and do not contain fabricated information.
Benefits
- Model-agnostic, usable with all foundation models available in Amazon Bedrock.
- Multiple independently configurable protection layers instead of a rigid blocklist.
- Usable both during inference and standalone via the ApplyGuardrail API.
- Built-in test window for iteratively refining configuration before production use.
Integration with innFactory
As an AWS Reseller with a focus on generative AI, innFactory helps you implement an enterprise-grade AI governance strategy with Amazon Bedrock Guardrails, from policy development and technical configuration to integration into existing CI/CD pipelines.
Typical Use Cases
Frequently Asked Questions
What are Amazon Bedrock Guardrails?
Bedrock Guardrails is a configurable safety layer evaluated between user requests and foundation model responses. It filters unwanted content, detects sensitive data, restricts topic areas, and protects against prompt attacks without modifying the underlying model.
What content filter categories are available?
Content filters detect and block harmful content in the categories Hate, Insults, Sexual, Violence, Misconduct, and Prompt Attack. Each category can be configured separately with different thresholds. In the Standard tier, detection is additionally extended to harmful content within code elements such as comments, variable names, and string literals.
How does sensitive data protection work in Guardrails?
The sensitive information filter probabilistically detects personally identifiable information (PII) such as names, addresses, social security numbers, or dates of birth in inputs and outputs, and can also detect custom patterns via regular expressions. Detected data can be masked or fully blocked.
What are Denied Topics and Word Filters?
Denied Topics let you define, in natural language, subjects an AI assistant should not discuss, regardless of the underlying model. Word Filters block exact, custom-defined terms or phrases, such as competitor names or profanity.
How does Bedrock Guardrails detect hallucinations?
Contextual Grounding Checks verify whether a model response is supported by provided source context, for example in RAG applications. Automated Reasoning Checks go further and validate responses against a set of logical rules to detect hallucinations, unstated assumptions, and contradictions.
What does Amazon Bedrock Guardrails cost?
Guardrails is billed on a usage basis, per evaluated text unit or image depending on the filter type. There are no upfront costs. Current prices are available on the official Bedrock pricing page.
Note: All product information on this page has been compiled with care, but is provided without guarantee and may be outdated or incomplete. Cloud services evolve rapidly — features, pricing, SLAs, and availability change frequently. Authoritative and up-to-date information can only be found on the official product page of AWS (official documentation). This page does not represent an offer by AWS.