Package com.pulumi.aws.appstream
Class User
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.appstream.User
-
public class User extends com.pulumi.resources.CustomResourceProvides an AppStream user. ## Example Usage
## Import Using `pulumi import`, import `aws.appstream.User` using the `userName` and `authenticationType` separated by a slash (`/`). For example: ```sh $ pulumi import aws:appstream/user:User example UserName/AuthenticationType ```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.ArrayList; import java.util.Arrays; 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()); } }
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.lang.String>authenticationType()com.pulumi.core.Output<java.lang.String>createdTime()com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>enabled()com.pulumi.core.Output<java.util.Optional<java.lang.String>>firstName()static Userget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, UserState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.util.Optional<java.lang.String>>lastName()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>sendEmailNotification()com.pulumi.core.Output<java.lang.String>userName()
-
-
-
Constructor Detail
-
User
public User(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
User
public User(java.lang.String name, UserArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
User
public User(java.lang.String name, UserArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the AppStream user.
-
authenticationType
public com.pulumi.core.Output<java.lang.String> authenticationType()
- Returns:
- Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, `USERPOOL`
-
createdTime
public com.pulumi.core.Output<java.lang.String> createdTime()
- Returns:
- Date and time, in UTC and extended RFC 3339 format, when the user was created.
-
enabled
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> enabled()
- Returns:
- Whether the user in the user pool is enabled.
-
firstName
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> firstName()
- Returns:
- First name, or given name, of the user.
-
lastName
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> lastName()
- Returns:
- Last name, or surname, of the user.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
sendEmailNotification
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> sendEmailNotification()
- Returns:
- Send an email notification.
-
userName
public com.pulumi.core.Output<java.lang.String> userName()
- Returns:
- Email address of the user. The following arguments are optional:
-
get
public static User get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable UserState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-