Amazon Bedrock Guardrails expands support for code domain
Machine Learning Blog
This article announces expanded code domain support for Amazon Bedrock Guardrails, a safety service for generative AI applications.
- Bedrock Guardrails now protects code elements including prompts, comments, variables, and string literals
- Detects harmful content across five categories: misconduct, violence, sexual, insult, and hate
- Prevents prompt injection attacks, jailbreaks, and system prompt leakage attempts
- Supports twelve major programming languages including Python, JavaScript, Java, and C++
- Customizable denied topics filters allow organization-specific code restrictions
- Enhanced PII detection optimized for coding contexts, code snippets, and hybrid content
- Available in Standard Tier with cross-Region inference support
Amazon Bedrock Guardrails now provides comprehensive safety controls for AI-assisted code development, protecting against malicious code generation and data exfiltration while maintaining developer productivity.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Nov 19
2025
2025
Amazon Bedrock Guardrails adds support for coding use cases
Apr 23
2024
2024
Guardrails for Amazon Bedrock now available with new safety filters and privacy controls
Dec 3
2024
2024
Amazon Bedrock Guardrails now supports Automated Reasoning checks (Preview)
Jul 3
2024
2024
Introducing guardrails in Amazon Bedrock Knowledge Bases
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.