Skip to content
v2.277.0

CfnStackUserAssociationProps Struct ​

Properties for defining a CfnStackUserAssociation.

Example ​

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
# 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
// 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();
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
};
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 ​

authenticationTypestringauthentication_typestrauthenticationTypeStringAuthenticationTypestringAuthenticationType*stringrequired#
The authentication type for the user who is associated with the stack.

You must specify USERPOOL.

sendEmailNotificationoptionalboolean | IResolvablesend_email_notificationoptionaltyping.Union[bool, IResolvable]sendEmailNotificationoptionalBooleanSendEmailNotificationoptionalboolSendEmailNotificationoptionalinterface{}#
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
stackNamestringstack_namestrstackNameStringStackNamestringStackName*stringrequired#
The name of the stack that is associated with the user.
userNamestringuser_namestruserNameStringUserNamestringUserName*stringrequired#
The email address of the user who is associated with the stack.

Users' email addresses are case-sensitive.