Class PasswordPolicy.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.PasswordPolicy.Jsii$Proxy
All Implemented Interfaces:
PasswordPolicy, software.amazon.jsii.JsiiSerializable
Enclosing interface:
PasswordPolicy

@Stability(Stable) @Internal public static final class PasswordPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PasswordPolicy
An implementation for PasswordPolicy
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.PasswordPolicy

    PasswordPolicy.Builder, PasswordPolicy.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the PasswordPolicy.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    Minimum length required for a user's password.
    final Boolean
    Whether the user is required to have digits in their password.
    final Boolean
    Whether the user is required to have lowercase characters in their password.
    final Boolean
    Whether the user is required to have symbols in their password.
    final Boolean
    Whether the user is required to have uppercase characters in their password.
    final Duration
    The length of time the temporary password generated by an admin is valid.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(PasswordPolicy.Builder builder)
      Constructor that initializes the object based on literal property values passed by the PasswordPolicy.Builder.
  • Method Details

    • getMinLength

      public final Number getMinLength()
      Description copied from interface: PasswordPolicy
      Minimum length required for a user's password.

      Default: 8

      Specified by:
      getMinLength in interface PasswordPolicy
    • getRequireDigits

      public final Boolean getRequireDigits()
      Description copied from interface: PasswordPolicy
      Whether the user is required to have digits in their password.

      Default: true

      Specified by:
      getRequireDigits in interface PasswordPolicy
    • getRequireLowercase

      public final Boolean getRequireLowercase()
      Description copied from interface: PasswordPolicy
      Whether the user is required to have lowercase characters in their password.

      Default: true

      Specified by:
      getRequireLowercase in interface PasswordPolicy
    • getRequireSymbols

      public final Boolean getRequireSymbols()
      Description copied from interface: PasswordPolicy
      Whether the user is required to have symbols in their password.

      Default: true

      Specified by:
      getRequireSymbols in interface PasswordPolicy
    • getRequireUppercase

      public final Boolean getRequireUppercase()
      Description copied from interface: PasswordPolicy
      Whether the user is required to have uppercase characters in their password.

      Default: true

      Specified by:
      getRequireUppercase in interface PasswordPolicy
    • getTempPasswordValidity

      public final Duration getTempPasswordValidity()
      Description copied from interface: PasswordPolicy
      The length of time the temporary password generated by an admin is valid.

      This must be provided as whole days, like Duration.days(3) or Duration.hours(48). Fractional days, such as Duration.hours(20), will generate an error.

      Default: Duration.days(7)

      Specified by:
      getTempPasswordValidity in interface PasswordPolicy
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object