You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::UpdateAccountPasswordPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateAccountPasswordPolicyRequest as input to an Aws::Client method, you can use a vanilla 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

Instance Attribute Details

#allow_users_to_change_passwordBoolean

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 in the IAM User Guide.

Default value: false

Returns:

  • (Boolean)

    Allows all IAM users in your account to use the AWS Management Console to change their own passwords.

#hard_expiryBoolean

Prevents IAM users from setting a new password after their password has expired.

Default value: false

Returns:

  • (Boolean)

    Prevents IAM users from setting a new password after their password has expired.

#max_password_ageInteger

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

Returns:

  • (Integer)

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

#minimum_password_lengthInteger

The minimum number of characters allowed in an IAM user password.

Default value: 6

Returns:

  • (Integer)

    The minimum number of characters allowed in an IAM user password.

#password_reuse_preventionInteger

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

Returns:

  • (Integer)

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

#require_lowercase_charactersBoolean

Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).

Default value: false

Returns:

  • (Boolean)

    Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).

#require_numbersBoolean

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

Default value: false

Returns:

  • (Boolean)

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

#require_symbolsBoolean

Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:

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

Default value: false

Returns:

  • (Boolean)

    Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:.

#require_uppercase_charactersBoolean

Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).

Default value: false

Returns:

  • (Boolean)

    Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).