# CfnStackUserAssociationProps

Properties for defining a `CfnStackUserAssociation`.

Used as props by: [CfnStackUserAssociation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStackUserAssociation.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const cfnStackUserAssociationProps: appstream.CfnStackUserAssociationProps = {
  authenticationType: 'authenticationType',
  stackName: 'stackName',
  userName: 'userName',

  // the properties below are optional
  sendEmailNotification: false,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appstream as appstream

cfn_stack_user_association_props = appstream.CfnStackUserAssociationProps(
    authentication_type="authenticationType",
    stack_name="stackName",
    user_name="userName",

    # the properties below are optional
    send_email_notification=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;

CfnStackUserAssociationProps cfnStackUserAssociationProps = CfnStackUserAssociationProps.builder()
        .authenticationType("authenticationType")
        .stackName("stackName")
        .userName("userName")

        // the properties below are optional
        .sendEmailNotification(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;

var cfnStackUserAssociationProps = new CfnStackUserAssociationProps {
    AuthenticationType = "authenticationType",
    StackName = "stackName",
    UserName = "userName",

    // the properties below are optional
    SendEmailNotification = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnStackUserAssociationProps := &CfnStackUserAssociationProps{
	AuthenticationType: jsii.String("authenticationType"),
	StackName: jsii.String("stackName"),
	UserName: jsii.String("userName"),

	// the properties below are optional
	SendEmailNotification: jsii.Boolean(false),
}
```

## Properties

- `authenticationType`: string (required) — The authentication type for the user who is associated with the stack.

  You must specify USERPOOL.

- `sendEmailNotification`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether a welcome email is sent to a user after the user is created in the user pool.

- `stackName`: string (required) — The name of the stack that is associated with the user.

- `userName`: string (required) — The email address of the user who is associated with the stack.

  > Users' email addresses are case-sensitive.
