Struct aws_sdk_iam::input::UpdateAccountPasswordPolicyInput [−][src]
#[non_exhaustive]pub struct UpdateAccountPasswordPolicyInput {
pub minimum_password_length: Option<i32>,
pub require_symbols: bool,
pub require_numbers: bool,
pub require_uppercase_characters: bool,
pub require_lowercase_characters: bool,
pub allow_users_to_change_password: bool,
pub max_password_age: Option<i32>,
pub password_reuse_prevention: Option<i32>,
pub hard_expiry: Option<bool>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.minimum_password_length: Option<i32>
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
.
require_symbols: 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_numbers: 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_uppercase_characters: 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.
require_lowercase_characters: 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.
allow_users_to_change_password: bool
Allows all IAM users in your account to use the Amazon Web Services 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.
max_password_age: Option<i32>
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.
password_reuse_prevention: Option<i32>
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.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAccountPasswordPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAccountPasswordPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateAccountPasswordPolicy
>
Creates a new builder-style object to manufacture UpdateAccountPasswordPolicyInput
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
.
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.
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.
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.
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.
Allows all IAM users in your account to use the Amazon Web Services 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.
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.
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.
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.
Trait Implementations
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 UpdateAccountPasswordPolicyInput
impl Sync for UpdateAccountPasswordPolicyInput
impl Unpin for UpdateAccountPasswordPolicyInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more