AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This data type is used as a response element in the GetAccountPasswordPolicy action.
Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class PasswordPolicy : Object
The PasswordPolicy type exposes the following members
Name | Description | |
---|---|---|
PasswordPolicy() |
Name | Type | Description | |
---|---|---|---|
AllowUsersToChangePassword | System.Boolean |
Gets and sets the property AllowUsersToChangePassword.
Specifies whether IAM users are allowed to change their own password. |
|
ExpirePasswords | System.Boolean |
Gets and sets the property ExpirePasswords.
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. |
|
HardExpiry | System.Boolean |
Gets and sets the property HardExpiry.
Specifies whether IAM users are prevented from setting a new password after their password has expired. |
|
MaxPasswordAge | System.Int32 |
Gets and sets the property MaxPasswordAge.
The number of days that an IAM user password is valid. |
|
MinimumPasswordLength | System.Int32 |
Gets and sets the property MinimumPasswordLength.
Minimum length to require for IAM user passwords. |
|
PasswordReusePrevention | System.Int32 |
Gets and sets the property PasswordReusePrevention.
Specifies the number of previous passwords that IAM users are prevented from reusing. |
|
RequireLowercaseCharacters | System.Boolean |
Gets and sets the property RequireLowercaseCharacters.
Specifies whether to require lowercase characters for IAM user passwords. |
|
RequireNumbers | System.Boolean |
Gets and sets the property RequireNumbers.
Specifies whether to require numbers for IAM user passwords. |
|
RequireSymbols | System.Boolean |
Gets and sets the property RequireSymbols.
Specifies whether to require symbols for IAM user passwords. |
|
RequireUppercaseCharacters | System.Boolean |
Gets and sets the property RequireUppercaseCharacters.
Specifies whether to require uppercase characters for IAM user passwords. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1