UserArgs

data class UserArgs(val authenticationType: Output<String>? = null, val enabled: Output<Boolean>? = null, val firstName: Output<String>? = null, val lastName: Output<String>? = null, val sendEmailNotification: Output<Boolean>? = null, val userName: Output<String>? = null) : ConvertibleToJava<UserArgs>

Provides an AppStream user.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appstream.User;
import com.pulumi.aws.appstream.UserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new User("example", UserArgs.builder()
.authenticationType("USERPOOL")
.firstName("FIRST NAME")
.lastName("LAST NAME")
.userName("EMAIL")
.build());
}
}

Import

aws_appstream_user can be imported using the user_name and authentication_type separated by a slash (/), e.g.,

$ pulumi import aws:appstream/user:User example UserName/AuthenticationType

Constructors

Link copied to clipboard
constructor(authenticationType: Output<String>? = null, enabled: Output<Boolean>? = null, firstName: Output<String>? = null, lastName: Output<String>? = null, sendEmailNotification: Output<Boolean>? = null, userName: Output<String>? = null)

Properties

Link copied to clipboard
val authenticationType: Output<String>? = null

Authentication type for the user. You must specify USERPOOL. Valid values: API, SAML, USERPOOL

Link copied to clipboard
val enabled: Output<Boolean>? = null

Whether the user in the user pool is enabled.

Link copied to clipboard
val firstName: Output<String>? = null

First name, or given name, of the user.

Link copied to clipboard
val lastName: Output<String>? = null

Last name, or surname, of the user.

Link copied to clipboard
val sendEmailNotification: Output<Boolean>? = null

Send an email notification.

Link copied to clipboard
val userName: Output<String>? = null

Email address of the user. The following arguments are optional:

Functions

Link copied to clipboard
open override fun toJava(): UserArgs