@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / PIIFilter
Interface to define a PII Filter.
readonly
action:GuardrailAction
The action to take when PII is detected.
readonly
optional
inputAction:GuardrailAction
The action to take when PII is detected in the input.
readonly
optional
inputEnabled:boolean
Whether the PII filter is enabled for input.
readonly
optional
outputAction:GuardrailAction
The action to take when PII is detected in the output.
readonly
optional
outputEnabled:boolean
Whether the PII filter is enabled for output.
readonly
type:General
|Finance
|InformationTechnology
|USASpecific
|CanadaSpecific
|UKSpecific
The type of PII to filter.