Struct rusoto_iam::PasswordPolicy [] [src]

pub struct PasswordPolicy {
    pub allow_users_to_change_password: Option<BooleanType>,
    pub expire_passwords: Option<BooleanType>,
    pub hard_expiry: Option<BooleanObjectType>,
    pub max_password_age: Option<MaxPasswordAgeType>,
    pub minimum_password_length: Option<MinimumPasswordLengthType>,
    pub password_reuse_prevention: Option<PasswordReusePreventionType>,
    pub require_lowercase_characters: Option<BooleanType>,
    pub require_numbers: Option<BooleanType>,
    pub require_symbols: Option<BooleanType>,
    pub require_uppercase_characters: Option<BooleanType>,
}

Contains information about the account password policy.

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

Fields

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

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

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

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

Minimum length to require for IAM user passwords.

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

Specifies whether to require lowercase characters for IAM user passwords.

Specifies whether to require numbers for IAM user passwords.

Specifies whether to require symbols for IAM user passwords.

Specifies whether to require uppercase characters for IAM user passwords.

Trait Implementations

impl Default for PasswordPolicy
[src]

Returns the "default value" for a type. Read more

impl Debug for PasswordPolicy
[src]

Formats the value using the given formatter.

impl Clone for PasswordPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more