« blib/lib/Paws/IAM/OrganizationsDecisionDetail.pm
↑ Summary
blib/lib/Paws/IAM/PermissionsBoundaryDecisionDetail.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IAM::PasswordPolicy; | ||
| 3 | use Moose; | ||
| 4 | has AllowUsersToChangePassword => (is => 'ro', isa => 'Bool'); | ||
| 5 | has ExpirePasswords => (is => 'ro', isa => 'Bool'); | ||
| 6 | has HardExpiry => (is => 'ro', isa => 'Bool'); | ||
| 7 | has MaxPasswordAge => (is => 'ro', isa => 'Int'); | ||
| 8 | has MinimumPasswordLength => (is => 'ro', isa => 'Int'); | ||
| 9 | has PasswordReusePrevention => (is => 'ro', isa => 'Int'); | ||
| 10 | has RequireLowercaseCharacters => (is => 'ro', isa => 'Bool'); | ||
| 11 | has RequireNumbers => (is => 'ro', isa => 'Bool'); | ||
| 12 | has RequireSymbols => (is => 'ro', isa => 'Bool'); | ||
| 13 | has RequireUppercaseCharacters => (is => 'ro', isa => 'Bool'); | ||
| 14 | |||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::IAM::PasswordPolicy | ||
| 22 | |||
| 23 | =head1 USAGE | ||
| 24 | |||
| 25 | This class represents one of two things: | ||
| 26 | |||
| 27 | =head3 Arguments in a call to a service | ||
| 28 | |||
| 29 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 30 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 31 | |||
| 32 | As an example, if Att1 is expected to be a Paws::IAM::PasswordPolicy object: | ||
| 33 | |||
| 34 | $service_obj->Method(Att1 => { AllowUsersToChangePassword => $value, ..., RequireUppercaseCharacters => $value }); | ||
| 35 | |||
| 36 | =head3 Results returned from an API call | ||
| 37 | |||
| 38 | Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::PasswordPolicy object: | ||
| 39 | |||
| 40 | $result = $service_obj->Method(...); | ||
| 41 | $result->Att1->AllowUsersToChangePassword | ||
| 42 | |||
| 43 | =head1 DESCRIPTION | ||
| 44 | |||
| 45 | Contains information about the account password policy. | ||
| 46 | |||
| 47 | This data type is used as a response element in the | ||
| 48 | GetAccountPasswordPolicy operation. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 AllowUsersToChangePassword => Bool | ||
| 54 | |||
| 55 | Specifies whether IAM users are allowed to change their own password. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 ExpirePasswords => Bool | ||
| 59 | |||
| 60 | Indicates whether passwords in the account expire. Returns true if | ||
| 61 | C<MaxPasswordAge> contains a value greater than 0. Returns false if | ||
| 62 | MaxPasswordAge is 0 or not present. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 HardExpiry => Bool | ||
| 66 | |||
| 67 | Specifies whether IAM users are prevented from setting a new password | ||
| 68 | after their password has expired. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 MaxPasswordAge => Int | ||
| 72 | |||
| 73 | The number of days that an IAM user password is valid. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 MinimumPasswordLength => Int | ||
| 77 | |||
| 78 | Minimum length to require for IAM user passwords. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 PasswordReusePrevention => Int | ||
| 82 | |||
| 83 | Specifies the number of previous passwords that IAM users are prevented | ||
| 84 | from reusing. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 RequireLowercaseCharacters => Bool | ||
| 88 | |||
| 89 | Specifies whether IAM user passwords must contain at least one | ||
| 90 | lowercase character (a to z). | ||
| 91 | |||
| 92 | |||
| 93 | =head2 RequireNumbers => Bool | ||
| 94 | |||
| 95 | Specifies whether IAM user passwords must contain at least one numeric | ||
| 96 | character (0 to 9). | ||
| 97 | |||
| 98 | |||
| 99 | =head2 RequireSymbols => Bool | ||
| 100 | |||
| 101 | Specifies whether IAM user passwords must contain at least one of the | ||
| 102 | following symbols: | ||
| 103 | |||
| 104 | ! @ # $ % ^ & * ( ) _ + - = [ ] { } | ' | ||
| 105 | |||
| 106 | |||
| 107 | =head2 RequireUppercaseCharacters => Bool | ||
| 108 | |||
| 109 | Specifies whether IAM user passwords must contain at least one | ||
| 110 | uppercase character (A to Z). | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | =head1 SEE ALSO | ||
| 115 | |||
| 116 | This class forms part of L<Paws>, describing an object used in L<Paws::IAM> | ||
| 117 | |||
| 118 | =head1 BUGS and CONTRIBUTIONS | ||
| 119 | |||
| 120 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 121 | |||
| 122 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 123 | |||
| 124 | =cut | ||
| 125 |