GetDatabaseInstanceSettingPasswordValidationPolicy constructor

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

Creates a new GetDatabaseInstanceSettingPasswordValidationPolicy. complexity Password complexity. disallowUsernameSubstring Disallow username as a part of the password. enablePasswordPolicy Whether the password policy is enabled or not. minLength Minimum number of characters allowed. passwordChangeInterval Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL. reuseInterval Number of previous passwords that cannot be reused.

Implementation

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