Resource: awsAppstreamUserStackAssociation
Manages an AppStream User Stack association.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const awsAppstreamStackTest = new aws.appstreamStack.AppstreamStack(
this,
"test",
{
name: "STACK NAME",
}
);
const awsAppstreamUserTest = new aws.appstreamUser.AppstreamUser(
this,
"test_1",
{
authenticationType: "USERPOOL",
userName: "EMAIL",
}
);
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
awsAppstreamUserTest.overrideLogicalId("test");
const awsAppstreamUserStackAssociationTest =
new aws.appstreamUserStackAssociation.AppstreamUserStackAssociation(
this,
"test_2",
{
authenticationType: awsAppstreamUserTest.authenticationType,
stackName: awsAppstreamStackTest.name,
userName: awsAppstreamUserTest.userName,
}
);
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
awsAppstreamUserStackAssociationTest.overrideLogicalId("test");
Argument Reference
The following arguments are required:
authenticationType
- (Required) Authentication type for the user.stackName
(Required) Name of the stack that is associated with the user.userName
(Required) Email address of the user who is associated with the stack.
The following arguments are optional:
sendEmailNotification
- (Optional) Whether a welcome email is sent to a user after the user is created in the user pool.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- Unique ID of the appstream User Stack association.
Import
AppStream User Stack Association can be imported by using the userName
, authenticationType
, and stackName
, separated by a slash (/
), e.g.,