@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / RegexFilter
A Regular expression (regex) filter for sensitive information.
readonlyaction:GuardrailAction
The action to take when a regex match is detected.
readonlyoptionaldescription?:string
The description of the regex filter.
readonlyoptionalinputAction?:GuardrailAction
The action to take when a regex match is detected in the input.
readonlyoptionalinputEnabled?:boolean
Whether the regex filter is enabled for input.
readonlyname:string
The name of the regex filter.
readonlyoptionaloutputAction?:GuardrailAction
The action to take when a regex match is detected in the output.
readonlyoptionaloutputEnabled?:boolean
Whether the regex filter is enabled for output.
readonlypattern:string
The regular expression pattern to match.