@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.651Z") @Stability(value=Stable) public class CfnUser extends CfnResource implements IInspectable
The AWS::AppStream::User resource creates a new user in the AppStream 2.0 user pool.
Example:
// 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.*;
CfnUser cfnUser = CfnUser.Builder.create(this, "MyCfnUser")
.authenticationType("authenticationType")
.userName("userName")
// the properties below are optional
.firstName("firstName")
.lastName("lastName")
.messageAction("messageAction")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnUser.Builder
A fluent builder for
CfnUser. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnUser(software.constructs.Construct scope,
String id,
CfnUserProps props)
Create a new `AWS::AppStream::User`.
|
protected |
CfnUser(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnUser(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationType()
The authentication type for the user.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getFirstName()
The first name, or given name, of the user.
|
String |
getLastName()
The last name, or surname, of the user.
|
String |
getMessageAction()
The action to take for the welcome email that is sent to a user after the user is created in the user pool.
|
String |
getUserName()
The email address of the user.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAuthenticationType(String value)
The authentication type for the user.
|
void |
setFirstName(String value)
The first name, or given name, of the user.
|
void |
setLastName(String value)
The last name, or surname, of the user.
|
void |
setMessageAction(String value)
The action to take for the welcome email that is sent to a user after the user is created in the user pool.
|
void |
setUserName(String value)
The email address of the user.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnUser(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnUser(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnUser(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnUserProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getAuthenticationType()
You must specify USERPOOL.
@Stability(value=Stable)
public void setAuthenticationType(@NotNull
String value)
You must specify USERPOOL.
@Stability(value=Stable) @NotNull public String getUserName()
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.
@Stability(value=Stable)
public void setUserName(@NotNull
String value)
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.
@Stability(value=Stable) @Nullable public String getFirstName()
@Stability(value=Stable)
public void setFirstName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getLastName()
@Stability(value=Stable)
public void setLastName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getMessageAction()
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.
@Stability(value=Stable)
public void setMessageAction(@Nullable
String value)
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.
Copyright © 2022. All rights reserved.