AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::AppStream::User

CfnUser

The `AWS::AppStream::User` resource creates a new user in the AppStream 2.0 user pool.

Import

import { CfnUser } from 'aws-cdk-lib/aws-appstream';

Or use the module namespace:

import * as appstream from 'aws-cdk-lib/aws-appstream';
// appstream.CfnUser

Properties

Configuration passed to the constructor as CfnUserProps.

authenticationTypeRequired
string

The authentication type for the user. You must specify USERPOOL.

userNameRequired
string

The email address of the user. Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

firstNameOptional
string

The first name, or given name, of the user.

lastNameOptional
string

The last name, or surname, of the user.

messageActionOptional
string

The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent. > The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter