Skip to content

Bedrock Agent Runtime  >  Structures  >  GuardrailRegexFilter

GuardrailRegexFilter

Structure Class

GuardrailRegexFilter dataclass

The details for the regex filter used in the Guardrail.

Attributes

action class-attribute instance-attribute

The action details for the regex filter used in the Guardrail.

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

The match details for the regex filter used in the Guardrail.

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

The name details for the regex filter used in the Guardrail.

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

The regex details for the regex filter used in the Guardrail.