BedrockGuardrailResource - Amazon GuardDuty
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

BedrockGuardrailResource

Contains details about an Amazon Bedrock guardrail evaluated during a model invocation.

Contents

guardrailAction

Indicates whether the guardrail intervened during the model invocation.

Type: String

Valid Values: GUARDRAIL_INTERVENED | NONE

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

version

The version of the Amazon Bedrock guardrail. Valid values are a numeric version, DRAFT, or ENFORCED.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 8.

Pattern: (([1-9][0-9]{0,7})|(DRAFT)|(ENFORCED))

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: