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

Class: Aws::IAM::Types::PasswordPolicy

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

Overview

Contains information about the account password policy.

This data type is used as a response element in the GetAccountPasswordPolicy operation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#allow_users_to_change_passwordBoolean

Specifies whether IAM users are allowed to change their own password.

Returns:

  • (Boolean)

    Specifies whether IAM users are allowed to change their own password.

#expire_passwordsBoolean

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

Returns:

  • (Boolean)

    Indicates whether passwords in the account expire.

#hard_expiryBoolean

Specifies whether IAM users are prevented from setting a new password after their password has expired.

Returns:

  • (Boolean)

    Specifies whether IAM users are prevented from setting a new password after their password has expired.

#max_password_ageInteger

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

Returns:

  • (Integer)

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

#minimum_password_lengthInteger

Minimum length to require for IAM user passwords.

Returns:

  • (Integer)

    Minimum length to require for IAM user passwords.

#password_reuse_preventionInteger

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

Returns:

  • (Integer)

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

#require_lowercase_charactersBoolean

Specifies whether to require lowercase characters for IAM user passwords.

Returns:

  • (Boolean)

    Specifies whether to require lowercase characters for IAM user passwords.

#require_numbersBoolean

Specifies whether to require numbers for IAM user passwords.

Returns:

  • (Boolean)

    Specifies whether to require numbers for IAM user passwords.

#require_symbolsBoolean

Specifies whether to require symbols for IAM user passwords.

Returns:

  • (Boolean)

    Specifies whether to require symbols for IAM user passwords.

#require_uppercase_charactersBoolean

Specifies whether to require uppercase characters for IAM user passwords.

Returns:

  • (Boolean)

    Specifies whether to require uppercase characters for IAM user passwords.