User
Provides an AppStream user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.appstream.User("example", {
authenticationType: "USERPOOL",
userName: "EMAIL",
firstName: "FIRST NAME",
lastName: "LAST NAME",
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.appstream.User("example",
authentication_type="USERPOOL",
user_name="EMAIL",
first_name="FIRST NAME",
last_name="LAST NAME")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.AppStream.User("example", new()
{
AuthenticationType = "USERPOOL",
UserName = "EMAIL",
FirstName = "FIRST NAME",
LastName = "LAST NAME",
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appstream.NewUser(ctx, "example", &appstream.UserArgs{
AuthenticationType: pulumi.String("USERPOOL"),
UserName: pulumi.String("EMAIL"),
FirstName: pulumi.String("FIRST NAME"),
LastName: pulumi.String("LAST NAME"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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")
.userName("EMAIL")
.firstName("FIRST NAME")
.lastName("LAST NAME")
.build());
}
}
Content copied to clipboard
resources:
example:
type: aws:appstream:User
properties:
authenticationType: USERPOOL
userName: EMAIL
firstName: FIRST NAME
lastName: LAST NAME
Content copied to clipboard
Import
Using pulumi import
, import aws_appstream_user
using the user_name
and authentication_type
separated by a slash (/
). For example:
$ pulumi import aws:appstream/user:User example UserName/AuthenticationType
Content copied to clipboard
Properties
Link copied to clipboard
Authentication type for the user. You must specify USERPOOL. Valid values: API
, SAML
, USERPOOL
Link copied to clipboard
Date and time, in UTC and extended RFC 3339 format, when the user was created.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Send an email notification.