Interface SqlUserPasswordPolicy

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    SqlUserPasswordPolicy.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:22.815Z")
    @Stability(Stable)
    public interface SqlUserPasswordPolicy
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getAllowedFailedAttempts

        @Stability(Stable)
        @Nullable
        default Number getAllowedFailedAttempts()
        Number of failed attempts allowed before the user get locked.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#allowed_failed_attempts SqlUser#allowed_failed_attempts}

      • getEnableFailedAttemptsCheck

        @Stability(Stable)
        @Nullable
        default Object getEnableFailedAttemptsCheck()
        If true, the check that will lock user after too many failed login attempts will be enabled.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#enable_failed_attempts_check SqlUser#enable_failed_attempts_check}

      • getEnablePasswordVerification

        @Stability(Stable)
        @Nullable
        default Object getEnablePasswordVerification()
        If true, the user must specify the current password before changing the password.

        This flag is supported only for MySQL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#enable_password_verification SqlUser#enable_password_verification}

      • getPasswordExpirationDuration

        @Stability(Stable)
        @Nullable
        default String getPasswordExpirationDuration()
        Password expiration duration with one week grace period.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_user#password_expiration_duration SqlUser#password_expiration_duration}