BedrockGuardrailDetails
Contains information about the Bedrock guardrail that was involved in a finding.
Contents
- contentPolicyFilters
-
The list of content policy filters that matched during the guardrail evaluation.
Type: Array of ContentPolicyFilter objects
Array Members: Minimum number of 0 items. Maximum number of 10 items.
Required: No
- guardrailAction
-
Indicates whether the guardrail intervened or not.
Type: String
Valid Values:
GUARDRAIL_INTERVENED | NONERequired: No
- guardrailArn
-
The ARN of the Bedrock guardrail. This field is deprecated. Use the
guardrailslist instead.Type: String
Length Constraints: Minimum length of 0. Maximum length of 2048.
Pattern:
arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+Required: No
- guardrails
-
The list of Bedrock guardrails associated with the finding.
Type: Array of BedrockGuardrail objects
Array Members: Minimum number of 0 items. Maximum number of 10 items.
Required: No
- guardrailSource
-
Indicates whether the guardrail was applied on the input or output of the model invocation.
Type: String
Valid Values:
INPUT | OUTPUTRequired: No
- guardrailVersion
-
The version of the Bedrock guardrail. This field is deprecated. Use the
guardrailslist instead.Type: String
Length Constraints: Minimum length of 1. Maximum length of 8.
Pattern:
(([1-9][0-9]{0,7})|(DRAFT))Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: