import * as core from "@terrascript/core"; export interface UserStackAssociationArgs extends core.ResourceArgs { /** * (Required) Authentication type for the user. */ authenticationType: string | core.StringOut; /** * (Optional) Specifies whether a welcome email is sent to a user after the user is created in the user * pool. */ sendEmailNotification?: boolean | core.BooleanOut; stackName: string | core.StringOut; userName: string | core.StringOut; } export class UserStackAssociation extends core.Resource { /** * (Required) Authentication type for the user. */ @core.attr(String) public authenticationType!: string | core.StringOut; /** * Unique ID of the appstream User Stack association. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Specifies whether a welcome email is sent to a user after the user is created in the user * pool. */ @core.attr(Boolean) public sendEmailNotification?: boolean | core.BooleanOut; @core.attr(String) public stackName!: string | core.StringOut; @core.attr(String) public userName!: string | core.StringOut; constructor(name: string, args?: UserStackAssociationArgs) { super(name, "aws_appstream_user_stack_association", args); } public override getNamespace(): string { return "aws_appstream"; } }