Struct rusoto_iam::UpdateAccountPasswordPolicyRequest [−][src]
pub struct UpdateAccountPasswordPolicyRequest { pub allow_users_to_change_password: Option<bool>, pub hard_expiry: Option<bool>, pub max_password_age: Option<i64>, pub minimum_password_length: Option<i64>, pub password_reuse_prevention: Option<i64>, pub require_lowercase_characters: Option<bool>, pub require_numbers: Option<bool>, pub require_symbols: Option<bool>, pub require_uppercase_characters: Option<bool>, }
Fields
allow_users_to_change_password: Option<bool>
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.
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that IAM users in the account do not automatically have permissions to change their own password.
hard_expiry: Option<bool>
Prevents IAM users from setting a new password after their password has expired. The IAM user cannot be accessed until an administrator resets the password.
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that IAM users can change their passwords after they expire and continue to sign in as the user.
max_password_age: Option<i64>
The number of days that an IAM user password is valid.
If you do not specify a value for this parameter, then the operation uses the default value of 0
. The result is that IAM user passwords never expire.
minimum_password_length: Option<i64>
The minimum number of characters allowed in an IAM user password.
If you do not specify a value for this parameter, then the operation uses the default value of 6
.
password_reuse_prevention: Option<i64>
Specifies the number of previous passwords that IAM users are prevented from reusing.
If you do not specify a value for this parameter, then the operation uses the default value of 0
. The result is that IAM users are not prevented from reusing previous passwords.
require_lowercase_characters: Option<bool>
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one lowercase character.
require_numbers: Option<bool>
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one numeric character.
require_symbols: Option<bool>
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one symbol character.
require_uppercase_characters: Option<bool>
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one uppercase character.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for UpdateAccountPasswordPolicyRequest
impl Sync for UpdateAccountPasswordPolicyRequest
impl Unpin for UpdateAccountPasswordPolicyRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self