Class: Aws::IAM::Types::UpdateAccountPasswordPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::UpdateAccountPasswordPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
When making an API call, you may pass UpdateAccountPasswordPolicyRequest data as a hash:
{
minimum_password_length: 1,
require_symbols: false,
require_numbers: false,
require_uppercase_characters: false,
require_lowercase_characters: false,
allow_users_to_change_password: false,
max_password_age: 1,
password_reuse_prevention: 1,
hard_expiry: false,
}
Instance Attribute Summary collapse
-
#allow_users_to_change_password ⇒ Boolean
Allows all IAM users in your account to use the AWS Management Console to change their own passwords.
-
#hard_expiry ⇒ Boolean
Prevents IAM users 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
The minimum number of characters allowed in an IAM user password.
-
#password_reuse_prevention ⇒ Integer
Specifies the number of previous passwords that IAM users are prevented from reusing.
-
#require_lowercase_characters ⇒ Boolean
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
-
#require_numbers ⇒ Boolean
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
-
#require_symbols ⇒ Boolean
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:.
-
#require_uppercase_characters ⇒ Boolean
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
Instance Attribute Details
#allow_users_to_change_password ⇒ Boolean
Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see
- Letting IAM Users Change Their Own Passwords][1
-
in the *IAM User
Guide*.
Default value: false
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#hard_expiry ⇒ Boolean
Prevents IAM users from setting a new password after their password has expired.
Default value: false
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :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. The default value of 0 means IAM user passwords never expire.
Default value: 0
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#minimum_password_length ⇒ Integer
The minimum number of characters allowed in an IAM user password.
Default value: 6
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :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. The default value of 0 means IAM users are not prevented from reusing previous passwords.
Default value: 0
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#require_lowercase_characters ⇒ Boolean
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
Default value: false
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#require_numbers ⇒ Boolean
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Default value: false
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#require_symbols ⇒ Boolean
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ &amp; * ( ) _ + - = [ ] \{ \} | ‘
Default value: false
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |
#require_uppercase_characters ⇒ Boolean
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
Default value: false
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 |
# File 'lib/aws-sdk-iam/types.rb', line 7885 class UpdateAccountPasswordPolicyRequest < Struct.new( :minimum_password_length, :require_symbols, :require_numbers, :require_uppercase_characters, :require_lowercase_characters, :allow_users_to_change_password, :max_password_age, :password_reuse_prevention, :hard_expiry) include Aws::Structure end |