class Aws::IAM::Types::PasswordPolicy

Contains information about the account password policy.

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

@!attribute [rw] minimum_password_length

Minimum length to require for IAM user passwords.
@return [Integer]

@!attribute [rw] require_symbols

Specifies whether IAM user passwords must contain at least one of
the following symbols:

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

@!attribute [rw] require_numbers

Specifies whether IAM user passwords must contain at least one
numeric character (0 to 9).
@return [Boolean]

@!attribute [rw] require_uppercase_characters

Specifies whether IAM user passwords must contain at least one
uppercase character (A to Z).
@return [Boolean]

@!attribute [rw] require_lowercase_characters

Specifies whether IAM user passwords must contain at least one
lowercase character (a to z).
@return [Boolean]

@!attribute [rw] allow_users_to_change_password

Specifies whether IAM users are allowed to change their own
password.
@return [Boolean]

@!attribute [rw] expire_passwords

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.
@return [Boolean]

@!attribute [rw] max_password_age

The number of days that an IAM user password is valid.
@return [Integer]

@!attribute [rw] password_reuse_prevention

Specifies the number of previous passwords that IAM users are
prevented from reusing.
@return [Integer]

@!attribute [rw] hard_expiry

Specifies whether IAM users are prevented from setting a new
password after their password has expired.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PasswordPolicy AWS API Documentation

Constants

SENSITIVE