PasswordPolicyType
public struct PasswordPolicyType : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The minimum length of the password policy that you have set. Cannot be less than 6.
Declaration
Swift
public let minimumLength: Int?
-
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
Declaration
Swift
public let requireLowercase: Bool?
-
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
Declaration
Swift
public let requireNumbers: Bool?
-
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
Declaration
Swift
public let requireSymbols: Bool?
-
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
Declaration
Swift
public let requireUppercase: Bool?
-
In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator. When you set TemporaryPasswordValidityDays for a user pool, you will no longer be able to set the deprecated UnusedAccountValidityDays value for that user pool.
Declaration
Swift
public let temporaryPasswordValidityDays: Int?
-
init(minimumLength:requireLowercase:requireNumbers:requireSymbols:requireUppercase:temporaryPasswordValidityDays:)
Undocumented
Declaration
Swift
public init(minimumLength: Int? = nil, requireLowercase: Bool? = nil, requireNumbers: Bool? = nil, requireSymbols: Bool? = nil, requireUppercase: Bool? = nil, temporaryPasswordValidityDays: Int? = nil)
-
Declaration
Swift
public func validate(name: String) throws