Bedrock Runtime > Structures > GuardrailRegexFilter GuardrailRegexFilter¶ Structure Class¶ GuardrailRegexFilter dataclass ¶ A Regex filter configured in a guardrail. Attributes¶ action instance-attribute ¶ action: GuardrailSensitiveInformationPolicyAction The region filter action. detected class-attribute instance-attribute ¶ detected: bool | None = None Indicates whether custom regex entities that breach the guardrail configuration are detected. match class-attribute instance-attribute ¶ match: str | None = None The regesx filter match. name class-attribute instance-attribute ¶ name: str | None = None The regex filter name. regex class-attribute instance-attribute ¶ regex: str | None = None The regex query.