Class: Aws::WAFV2::Types::BedrockGuardrailsRequestOnly

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb

Overview

Configures the AI security managed rule group to use Amazon Bedrock Guardrails to inspect web requests.

This is used in the BedrockGuardrails setting of AWSManagedRulesAISecurityRuleSet.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#role_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM role that WAF uses to call Amazon Bedrock Guardrails for the rule group. The role must be in the same Amazon Web Services account as the web ACL.

To specify the role, you must have permission to call iam:PassRole on it, to pass it to the WAF service principal wafv2.amazonaws.com.

Returns:

  • (String)


939
940
941
942
943
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 939

class BedrockGuardrailsRequestOnly < Struct.new(
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end