BedrockGuardrails
Specifies whether the AI security managed rule group, AWSManagedRulesAISecurityRuleSet, uses Amazon Bedrock Guardrails to inspect web requests, or web requests and responses.
Specify exactly one of the following settings: Disable, ProtectRequestOnly, or ProtectRequestAndResponse.
Contents
- Disable
-
Turns off the use of Amazon Bedrock Guardrails. The rule group continues to run its own inspections.
JSON specification:
"Disable": {}Type: DisableBedrockGuardrails object
Required: No
- ProtectRequestAndResponse
-
Uses Amazon Bedrock Guardrails to inspect web requests and the responses to them.
Type: BedrockGuardrailsRequestAndResponse object
Required: No
- ProtectRequestOnly
-
Uses Amazon Bedrock Guardrails to inspect web requests.
Type: BedrockGuardrailsRequestOnly object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: