Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PasswordPolicyType = PasswordPolicyType' {}
- newPasswordPolicyType :: PasswordPolicyType
- passwordPolicyType_minimumLength :: Lens' PasswordPolicyType (Maybe Natural)
- passwordPolicyType_requireLowercase :: Lens' PasswordPolicyType (Maybe Bool)
- passwordPolicyType_requireNumbers :: Lens' PasswordPolicyType (Maybe Bool)
- passwordPolicyType_requireSymbols :: Lens' PasswordPolicyType (Maybe Bool)
- passwordPolicyType_requireUppercase :: Lens' PasswordPolicyType (Maybe Bool)
- passwordPolicyType_temporaryPasswordValidityDays :: Lens' PasswordPolicyType (Maybe Natural)
Documentation
data PasswordPolicyType Source #
The password policy type.
See: newPasswordPolicyType
smart constructor.
PasswordPolicyType' | |
|
Instances
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:minimumLength:PasswordPolicyType'
, passwordPolicyType_minimumLength
- The minimum length of the password in the policy that you have set. This
value can't be less than 6.
$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: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: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: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:temporaryPasswordValidityDays:PasswordPolicyType'
, passwordPolicyType_temporaryPasswordValidityDays
- The number of days a temporary password is valid in the password policy.
If the user doesn't sign in during this time, an administrator must
reset their password.
When you set TemporaryPasswordValidityDays
for a user pool, you can no
longer set a value for the legacy UnusedAccountValidityDays
parameter
in that user pool.
passwordPolicyType_minimumLength :: Lens' PasswordPolicyType (Maybe Natural) Source #
The minimum length of the password in the policy that you have set. This value can't be less than 6.
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_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_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_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_temporaryPasswordValidityDays :: Lens' PasswordPolicyType (Maybe Natural) Source #
The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
When you set TemporaryPasswordValidityDays
for a user pool, you can no
longer set a value for the legacy UnusedAccountValidityDays
parameter
in that user pool.