The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::IAM::PasswordPolicy

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::IAM::PasswordPolicy object:

  $service_obj->Method(Att1 => { AllowUsersToChangePassword => $value, ..., RequireUppercaseCharacters => $value  });

Results returned from an API call

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

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

DESCRIPTION

Contains information about the account password policy.

This data type is used as a response element in the GetAccountPasswordPolicy operation.

ATTRIBUTES

AllowUsersToChangePassword => Bool

Specifies whether IAM users are allowed to change their own password.

ExpirePasswords => Bool

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

HardExpiry => Bool

Specifies whether IAM users are prevented from setting a new password after their password has expired.

MaxPasswordAge => Int

The number of days that an IAM user password is valid.

MinimumPasswordLength => Int

Minimum length to require for IAM user passwords.

PasswordReusePrevention => Int

Specifies the number of previous passwords that IAM users are prevented from reusing.

RequireLowercaseCharacters => Bool

Specifies whether IAM user passwords must contain at least one lowercase character (a to z).

RequireNumbers => Bool

Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).

RequireSymbols => Bool

Specifies whether IAM user passwords must contain at least one of the following symbols:

! @ # $ % ^ & * ( ) _ + - = [ ] { } | '

RequireUppercaseCharacters => Bool

Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).

SEE ALSO

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

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