GuardrailSensitiveInformationPolicyConfigRegexesConfig constructor

const GuardrailSensitiveInformationPolicyConfigRegexesConfig({
  1. required Input<String> action,
  2. Input<String?>? description,
  3. Input<String?>? inputAction,
  4. Input<bool?>? inputEnabled,
  5. required Input<String> name,
  6. Input<String?>? outputAction,
  7. Input<bool?>? outputEnabled,
  8. required Input<String> pattern,
})

Creates a new GuardrailSensitiveInformationPolicyConfigRegexesConfig. action Options for sensitive information action. Valid values: BLOCK, ANONYMIZE, NONE. description The regex description. inputAction Action to take when harmful content is detected in the input. Valid values: BLOCK, ANONYMIZE, NONE. inputEnabled Whether to enable guardrail evaluation on the input. When disabled, you aren't charged for the evaluation. name The regex name. outputAction Action to take when harmful content is detected in the output. Valid values: BLOCK, ANONYMIZE, NONE. outputEnabled Whether to enable guardrail evaluation on the output. When disabled, you aren't charged for the evaluation. pattern The regex pattern.

Implementation

const GuardrailSensitiveInformationPolicyConfigRegexesConfig({
  required this.action,
  this.description,
  this.inputAction,
  this.inputEnabled,
  required this.name,
  this.outputAction,
  this.outputEnabled,
  required this.pattern,
});