libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

Description

 
Synopsis

Documentation

data PasswordPolicyType Source #

The password policy type.

See: newPasswordPolicyType smart constructor.

Constructors

PasswordPolicyType' 

Fields

  • requireNumbers :: Maybe Bool

    In the password policy that you have set, refers to whether you have required users to use at least one number in their password.

  • requireUppercase :: Maybe Bool

    In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.

  • requireLowercase :: Maybe Bool

    In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.

  • minimumLength :: Maybe Natural

    The minimum length of the password policy that you have set. Cannot be less than 6.

  • requireSymbols :: Maybe Bool

    In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.

  • temporaryPasswordValidityDays :: Maybe Natural

    In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.

    When you set TemporaryPasswordValidityDays for a user pool, you will no longer be able to set the deprecated UnusedAccountValidityDays value for that user pool.

Instances

Instances details
Eq PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

Read PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

Show PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

Generic PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

Associated Types

type Rep PasswordPolicyType :: Type -> Type #

NFData PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

Methods

rnf :: PasswordPolicyType -> () #

Hashable PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

ToJSON PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

FromJSON PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

type Rep PasswordPolicyType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType

type Rep PasswordPolicyType = D1 ('MetaData "PasswordPolicyType" "Amazonka.CognitoIdentityProvider.Types.PasswordPolicyType" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "PasswordPolicyType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requireNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "requireUppercase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "requireLowercase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "minimumLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "requireSymbols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "temporaryPasswordValidityDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

newPasswordPolicyType :: PasswordPolicyType Source #

Create a value of PasswordPolicyType with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:requireNumbers:PasswordPolicyType', passwordPolicyType_requireNumbers - In the password policy that you have set, refers to whether you have required users to use at least one number in their password.

$sel:requireUppercase:PasswordPolicyType', passwordPolicyType_requireUppercase - In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.

$sel:requireLowercase:PasswordPolicyType', passwordPolicyType_requireLowercase - In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.

$sel:minimumLength:PasswordPolicyType', passwordPolicyType_minimumLength - The minimum length of the password policy that you have set. Cannot be less than 6.

$sel:requireSymbols:PasswordPolicyType', passwordPolicyType_requireSymbols - In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.

$sel:temporaryPasswordValidityDays:PasswordPolicyType', passwordPolicyType_temporaryPasswordValidityDays - In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.

When you set TemporaryPasswordValidityDays for a user pool, you will no longer be able to set the deprecated UnusedAccountValidityDays value for that user pool.

passwordPolicyType_requireNumbers :: Lens' PasswordPolicyType (Maybe Bool) Source #

In the password policy that you have set, refers to whether you have required users to use at least one number in their password.

passwordPolicyType_requireUppercase :: Lens' PasswordPolicyType (Maybe Bool) Source #

In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.

passwordPolicyType_requireLowercase :: Lens' PasswordPolicyType (Maybe Bool) Source #

In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.

passwordPolicyType_minimumLength :: Lens' PasswordPolicyType (Maybe Natural) Source #

The minimum length of the password policy that you have set. Cannot be less than 6.

passwordPolicyType_requireSymbols :: Lens' PasswordPolicyType (Maybe Bool) Source #

In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.

passwordPolicyType_temporaryPasswordValidityDays :: Lens' PasswordPolicyType (Maybe Natural) Source #

In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.

When you set TemporaryPasswordValidityDays for a user pool, you will no longer be able to set the deprecated UnusedAccountValidityDays value for that user pool.