Skip to content

Bedrock Runtime  >  Structures  >  GuardrailPiiEntityFilter

GuardrailPiiEntityFilter

Structure Class

GuardrailPiiEntityFilter dataclass

A Personally Identifiable Information (PII) entity configured in a guardrail.

Attributes

action instance-attribute

The PII entity filter action.

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

Indicates whether personally identifiable information (PII) that breaches the guardrail configuration is detected.

match instance-attribute
match: str

The PII entity filter match.

type instance-attribute

The PII entity filter type.