Interface BedrockGuardrailsRequestOnly.Builder

  • Method Details

    • roleArn

      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.

      Parameters:
      roleArn - 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:
      Returns a reference to this object so that method calls can be chained together.