DatabaseInstanceSettingsPasswordValidationPolicyArgs

data class DatabaseInstanceSettingsPasswordValidationPolicyArgs(val complexity: Output<String>? = null, val disallowUsernameSubstring: Output<Boolean>? = null, val enablePasswordPolicy: Output<Boolean>, val minLength: Output<Int>? = null, val passwordChangeInterval: Output<String>? = null, val reuseInterval: Output<Int>? = null) : ConvertibleToJava<DatabaseInstanceSettingsPasswordValidationPolicyArgs>

Constructors

constructor(complexity: Output<String>? = null, disallowUsernameSubstring: Output<Boolean>? = null, enablePasswordPolicy: Output<Boolean>, minLength: Output<Int>? = null, passwordChangeInterval: Output<String>? = null, reuseInterval: Output<Int>? = null)

Properties

Link copied to clipboard
val complexity: Output<String>? = null

Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters.

Link copied to clipboard
val disallowUsernameSubstring: Output<Boolean>? = null

Prevents the use of the username in the password.

Link copied to clipboard

Enables or disable the password validation policy. The optional replica_configuration block must have master_instance_name set to work, cannot be updated, and supports:

Link copied to clipboard
val minLength: Output<Int>? = null

Specifies the minimum number of characters that the password must have.

Link copied to clipboard
val passwordChangeInterval: Output<String>? = null

Specifies the minimum duration after which you can change the password.

Link copied to clipboard
val reuseInterval: Output<Int>? = null

Specifies the number of previous passwords that you can't reuse.

Functions

Link copied to clipboard
open override fun toJava(): DatabaseInstanceSettingsPasswordValidationPolicyArgs