AWS SDK Version 3 for .NET
API Reference

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.

Contains information about the account password policy.

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

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.PasswordPolicy

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.IdentityManagement.dll
Version: 3.x.y.z

Syntax

C#
public class PasswordPolicy

The PasswordPolicy type exposes the following members

Constructors

NameDescription
Public Method PasswordPolicy()

Properties

NameTypeDescription
Public Property AllowUsersToChangePassword System.Boolean

Gets and sets the property AllowUsersToChangePassword.

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

Public Property 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.

Public Property 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.

Public Property MaxPasswordAge System.Int32

Gets and sets the property MaxPasswordAge.

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

Public Property MinimumPasswordLength System.Int32

Gets and sets the property MinimumPasswordLength.

Minimum length to require for IAM user passwords.

Public Property PasswordReusePrevention System.Int32

Gets and sets the property PasswordReusePrevention.

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

Public Property RequireLowercaseCharacters System.Boolean

Gets and sets the property RequireLowercaseCharacters.

Specifies whether to require lowercase characters for IAM user passwords.

Public Property RequireNumbers System.Boolean

Gets and sets the property RequireNumbers.

Specifies whether to require numbers for IAM user passwords.

Public Property RequireSymbols System.Boolean

Gets and sets the property RequireSymbols.

Specifies whether to require symbols for IAM user passwords.

Public Property RequireUppercaseCharacters System.Boolean

Gets and sets the property RequireUppercaseCharacters.

Specifies whether to require uppercase characters for IAM user passwords.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone