DatabaseInstanceSettingsPasswordValidationPolicy constructor

const DatabaseInstanceSettingsPasswordValidationPolicy({
  1. Input<String?>? complexity,
  2. Input<bool?>? disallowUsernameSubstring,
  3. required Input<bool> enablePasswordPolicy,
  4. Input<int?>? minLength,
  5. Input<String?>? passwordChangeInterval,
  6. Input<int?>? reuseInterval,
})

Creates a new DatabaseInstanceSettingsPasswordValidationPolicy. complexity Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters. disallowUsernameSubstring Prevents the use of the username in the password. enablePasswordPolicy Enables or disable the password validation policy. minLength Specifies the minimum number of characters that the password must have. passwordChangeInterval Specifies the minimum duration after which you can change the password. reuseInterval Specifies the number of previous passwords that you can't reuse.

Implementation

const DatabaseInstanceSettingsPasswordValidationPolicy({
  this.complexity,
  this.disallowUsernameSubstring,
  required this.enablePasswordPolicy,
  this.minLength,
  this.passwordChangeInterval,
  this.reuseInterval,
});