PasswordPolicy
public struct PasswordPolicy : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
Specifies whether IAM users are allowed to change their own password.
Declaration
Swift
public let allowUsersToChangePassword: Bool? -
Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.
Declaration
Swift
public let expirePasswords: Bool? -
Specifies whether IAM users are prevented from setting a new password after their password has expired.
Declaration
Swift
public let hardExpiry: Bool? -
The number of days that an IAM user password is valid.
Declaration
Swift
public let maxPasswordAge: Int? -
Minimum length to require for IAM user passwords.
Declaration
Swift
public let minimumPasswordLength: Int? -
Specifies the number of previous passwords that IAM users are prevented from reusing.
Declaration
Swift
public let passwordReusePrevention: Int? -
Specifies whether to require lowercase characters for IAM user passwords.
Declaration
Swift
public let requireLowercaseCharacters: Bool? -
Specifies whether to require numbers for IAM user passwords.
Declaration
Swift
public let requireNumbers: Bool? -
Specifies whether to require symbols for IAM user passwords.
Declaration
Swift
public let requireSymbols: Bool? -
Specifies whether to require uppercase characters for IAM user passwords.
Declaration
Swift
public let requireUppercaseCharacters: Bool? -
init(allowUsersToChangePassword:expirePasswords:hardExpiry:maxPasswordAge:minimumPasswordLength:passwordReusePrevention:requireLowercaseCharacters:requireNumbers:requireSymbols:requireUppercaseCharacters:)Undocumented
Declaration
Swift
public init(allowUsersToChangePassword: Bool? = nil, expirePasswords: Bool? = nil, hardExpiry: Bool? = nil, maxPasswordAge: Int? = nil, minimumPasswordLength: Int? = nil, passwordReusePrevention: Int? = nil, requireLowercaseCharacters: Bool? = nil, requireNumbers: Bool? = nil, requireSymbols: Bool? = nil, requireUppercaseCharacters: Bool? = nil)
View on GitHub
PasswordPolicy Structure Reference