Class: Aws::IAM::Types::PasswordPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::PasswordPolicy
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
Contains information about the account password policy.
This data type is used as a response element in the GetAccountPasswordPolicy action.
Instance Attribute Summary collapse
-
#allow_users_to_change_password ⇒ Boolean
Specifies whether IAM users are allowed to change their own password.
-
#expire_passwords ⇒ Boolean
Indicates whether passwords in the account expire.
-
#hard_expiry ⇒ Boolean
Specifies whether IAM users are prevented from setting a new password after their password has expired.
-
#max_password_age ⇒ Integer
The number of days that an IAM user password is valid.
-
#minimum_password_length ⇒ Integer
Minimum length to require for IAM user passwords.
-
#password_reuse_prevention ⇒ Integer
Specifies the number of previous passwords that IAM users are prevented from reusing.
-
#require_lowercase_characters ⇒ Boolean
Specifies whether to require lowercase characters for IAM user passwords.
-
#require_numbers ⇒ Boolean
Specifies whether to require numbers for IAM user passwords.
-
#require_symbols ⇒ Boolean
Specifies whether to require symbols for IAM user passwords.
-
#require_uppercase_characters ⇒ Boolean
Specifies whether to require uppercase characters for IAM user passwords.
Instance Attribute Details
#allow_users_to_change_password ⇒ Boolean
Specifies whether IAM users are allowed to change their own password.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#expire_passwords ⇒ Boolean
Indicates whether passwords in the account expire. Returns true if MaxPasswordAge is contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#hard_expiry ⇒ Boolean
Specifies whether IAM users are prevented from setting a new password after their password has expired.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#max_password_age ⇒ Integer
The number of days that an IAM user password is valid.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#minimum_password_length ⇒ Integer
Minimum length to require for IAM user passwords.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#password_reuse_prevention ⇒ Integer
Specifies the number of previous passwords that IAM users are prevented from reusing.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#require_lowercase_characters ⇒ Boolean
Specifies whether to require lowercase characters for IAM user passwords.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#require_numbers ⇒ Boolean
Specifies whether to require numbers for IAM user passwords.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#require_symbols ⇒ Boolean
Specifies whether to require symbols for IAM user passwords.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#require_uppercase_characters ⇒ Boolean
Specifies whether to require uppercase characters for IAM user passwords.
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 |
# File 'lib/aws-sdk-iam/types.rb', line 5923 class PasswordPolicy < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :expire_passwords, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |