Skip to content

GuardDuty  >  Structures  >  BedrockGuardrailResource

BedrockGuardrailResource

Structure Class

BedrockGuardrailResource dataclass

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

Attributes

guardrail_action class-attribute instance-attribute
guardrail_action: str | None = None

Indicates whether the guardrail intervened during the model invocation.

guardrail_source class-attribute instance-attribute
guardrail_source: str | None = None

Indicates whether the guardrail was applied on the input or output of the model invocation.

version class-attribute instance-attribute
version: str | None = None

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