AdminCreateUserConfigType

public struct AdminCreateUserConfigType : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app.

    Declaration

    Swift

    public let allowAdminCreateUserOnly: Bool?
  • The message template to be used for the welcome message to new users. See also Customizing User Invitation Messages.

    Declaration

    Swift

    public let inviteMessageTemplate: MessageTemplateType?
  • The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying “RESEND” for the MessageAction parameter. The default value for this parameter is 7. If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be used and UnusedAccountValidityDays will be deprecated for that user pool.

    Declaration

    Swift

    public let unusedAccountValidityDays: Int?
  • Undocumented

    Declaration

    Swift

    public init(allowAdminCreateUserOnly: Bool? = nil, inviteMessageTemplate: MessageTemplateType? = nil, unusedAccountValidityDays: Int? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws