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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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 operation.

Constant Summary collapse

SENSITIVE =
[]

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)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#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)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#hard_expiryBoolean

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

Returns:

  • (Boolean)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#max_password_ageInteger

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

Returns:

  • (Integer)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#minimum_password_lengthInteger

Minimum length to require for IAM user passwords.

Returns:

  • (Integer)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#password_reuse_preventionInteger

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

Returns:

  • (Integer)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#require_lowercase_charactersBoolean

Specifies whether IAM user passwords must contain at least one lowercase character (a to z).

Returns:

  • (Boolean)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#require_numbersBoolean

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

Returns:

  • (Boolean)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#require_symbolsBoolean

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

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

Returns:

  • (Boolean)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end

#require_uppercase_charactersBoolean

Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).

Returns:

  • (Boolean)


8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8440

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)
  SENSITIVE = []
  include Aws::Structure
end