import * as core from "@terrascript/core"; export interface UserArgs extends core.ResourceArgs { /** * (Required) Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, * USERPOOL` */ authenticationType: string | core.StringOut; /** * (Optional) Specifies whether the user in the user pool is enabled. */ enabled?: boolean | core.BooleanOut; /** * (Optional) First name, or given name, of the user. */ firstName?: string | core.StringOut; /** * (Optional) Last name, or surname, of the user. */ lastName?: string | core.StringOut; /** * (Optional) Send an email notification. */ sendEmailNotification?: boolean | core.BooleanOut; /** * (Required) Email address of the user. */ userName: string | core.StringOut; } export class User extends core.Resource { /** * ARN of the appstream user. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, * USERPOOL` */ @core.attr(String) public authenticationType!: string | core.StringOut; /** * Date and time, in UTC and extended RFC 3339 format, when the user was created. */ @core.attr(String, { computed: true }) public createdTime!: string | core.StringOut; /** * (Optional) Specifies whether the user in the user pool is enabled. */ @core.attr(Boolean) public enabled?: boolean | core.BooleanOut; /** * (Optional) First name, or given name, of the user. */ @core.attr(String) public firstName?: string | core.StringOut; /** * Unique ID of the appstream user. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Last name, or surname, of the user. */ @core.attr(String) public lastName?: string | core.StringOut; /** * (Optional) Send an email notification. */ @core.attr(Boolean) public sendEmailNotification?: boolean | core.BooleanOut; /** * (Required) Email address of the user. */ @core.attr(String) public userName!: string | core.StringOut; constructor(name: string, args?: UserArgs) { super(name, "aws_appstream_user", args); } public override getNamespace(): string { return "aws_appstream"; } }