Skip to content

Bedrock Runtime  >  Structures  >  GuardrailManagedWord

GuardrailManagedWord

Structure Class

GuardrailManagedWord dataclass

A managed word configured in a guardrail.

Attributes

action instance-attribute

The action for the managed word.

detected class-attribute instance-attribute
detected: bool | None = None

Indicates whether managed word content that breaches the guardrail configuration is detected.

match instance-attribute
match: str

The match for the managed word.

type instance-attribute

The type for the managed word.