Skip to content

Bedrock Agent Runtime  >  Structures  >  GuardrailCustomWord

GuardrailCustomWord

Structure Class

GuardrailCustomWord dataclass

The custom word details for the filter in the Guardrail.

Attributes

action class-attribute instance-attribute
action: GuardrailWordPolicyAction | None = None

The action details for the custom word filter in the Guardrail.

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

The match details for the custom word filter in the Guardrail.