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