You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AppStream::Types::CreateUserRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateUserRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  user_name: "Username", # required
  message_action: "SUPPRESS", # accepts SUPPRESS, RESEND
  first_name: "UserAttributeValue",
  last_name: "UserAttributeValue",
  authentication_type: "API", # required, accepts API, SAML, USERPOOL
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_typeString

The authentication type for the user. You must specify USERPOOL.

Possible values:

  • API
  • SAML
  • USERPOOL

Returns:

  • (String)

    The authentication type for the user.

#first_nameString

The first name, or given name, of the user.

Returns:

  • (String)

    The first name, or given name, of the user.

#last_nameString

The last name, or surname, of the user.

Returns:

  • (String)

    The last name, or surname, of the user.

#message_actionString

The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.

The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.

Possible values:

  • SUPPRESS
  • RESEND

Returns:

  • (String)

    The action to take for the welcome email that is sent to a user after the user is created in the user pool.

#user_nameString

The email address of the user.

Users\' email addresses are case-sensitive. During login, if they specify an email address that doesn\'t use the same capitalization as the email address specified when their user pool account was created, a \"user does not exist\" error message displays.

Returns:

  • (String)

    The email address of the user.