View a markdown version of this page

BedrockGuardrailDetails - Amazon GuardDuty
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 | NONE

Required: No

guardrailArn

The ARN of the Bedrock guardrail. This field is deprecated. Use the guardrails list 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 | OUTPUT

Required: No

guardrailVersion

The version of the Bedrock guardrail. This field is deprecated. Use the guardrails list 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 Amazon SDKs, see the following: