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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.PasswordPolicy
PasswordPolicy.Builder, PasswordPolicy.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(PasswordPolicy.Builder builder) Constructor that initializes the object based on literal property values passed by thePasswordPolicy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberMinimum length required for a user's password.final NumberThe number of previous passwords that you want Amazon Cognito to restrict each user from reusing.final BooleanWhether the user is required to have digits in their password.final BooleanWhether the user is required to have lowercase characters in their password.final BooleanWhether the user is required to have symbols in their password.final BooleanWhether the user is required to have uppercase characters in their password.final DurationThe length of time the temporary password generated by an admin is valid.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by thePasswordPolicy.Builder.
-
-
Method Details
-
getMinLength
Description copied from interface:PasswordPolicyMinimum length required for a user's password.Default: 8
- Specified by:
getMinLengthin interfacePasswordPolicy
-
getPasswordHistorySize
Description copied from interface:PasswordPolicyThe number of previous passwords that you want Amazon Cognito to restrict each user from reusing.passwordHistorySizecan not be set whenfeaturePlanisFeaturePlan.LITE.Default: undefined - Cognito default setting is no restriction
- Specified by:
getPasswordHistorySizein interfacePasswordPolicy
-
getRequireDigits
Description copied from interface:PasswordPolicyWhether the user is required to have digits in their password.Default: true
- Specified by:
getRequireDigitsin interfacePasswordPolicy
-
getRequireLowercase
Description copied from interface:PasswordPolicyWhether the user is required to have lowercase characters in their password.Default: true
- Specified by:
getRequireLowercasein interfacePasswordPolicy
-
getRequireSymbols
Description copied from interface:PasswordPolicyWhether the user is required to have symbols in their password.Default: true
- Specified by:
getRequireSymbolsin interfacePasswordPolicy
-
getRequireUppercase
Description copied from interface:PasswordPolicyWhether the user is required to have uppercase characters in their password.Default: true
- Specified by:
getRequireUppercasein interfacePasswordPolicy
-
getTempPasswordValidity
Description copied from interface:PasswordPolicyThe 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:
getTempPasswordValidityin interfacePasswordPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-