BedrockGuardrailsRequestAndResponse
Configures the AI security managed rule group to use Amazon Bedrock Guardrails to inspect web requests and the responses to them.
This is used in the BedrockGuardrails setting of AWSManagedRulesAISecurityRuleSet.
Contents
- RoleArn
-
The Amazon Resource Name (ARN) of the IAM role that AWS WAF uses to call Amazon Bedrock Guardrails for the rule group. The role must be in the same AWS account as the web ACL.
To specify the role, you must have permission to call
iam:PassRoleon it, to pass it to the AWS WAF service principalwafv2.amazonaws.com.Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
^arn:aws[a-zA-Z-]*:iam::\d{12}:role/(?:[\x21-\x7F]+/)?[\w+=,.@-]+$Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: