NAME

Paws::CognitoIdp::PasswordPolicyType

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CognitoIdp::PasswordPolicyType object:

$service_obj->Method(Att1 => { MinimumLength => $value, ..., TemporaryPasswordValidityDays => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CognitoIdp::PasswordPolicyType object:

$result = $service_obj->Method(...);
$result->Att1->MinimumLength

DESCRIPTION

The password policy type.

ATTRIBUTES

MinimumLength => Int

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

RequireLowercase => 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.

RequireNumbers => 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.

RequireSymbols => 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.

RequireUppercase => 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.

TemporaryPasswordValidityDays => Int

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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CognitoIdp

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues