Class CfnStackUserAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnStackUserAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackUserAssociation>
- Enclosing class:
- CfnStackUserAssociation
@Stability(Stable)
public static final class CfnStackUserAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackUserAssociation>
A fluent builder for
CfnStackUserAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionauthenticationType
(String authenticationType) The authentication type for the user who is associated with the stack.build()
sendEmailNotification
(Boolean sendEmailNotification) Specifies whether a welcome email is sent to a user after the user is created in the user pool.sendEmailNotification
(IResolvable sendEmailNotification) Specifies whether a welcome email is sent to a user after the user is created in the user pool.The name of the stack that is associated with the user.The email address of the user who is associated with the stack.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnStackUserAssociation.Builder
.
-
authenticationType
@Stability(Stable) public CfnStackUserAssociation.Builder authenticationType(String authenticationType) The authentication type for the user who is associated with the stack.You must specify USERPOOL.
- Parameters:
authenticationType
- The authentication type for the user who is associated with the stack. This parameter is required.- Returns:
this
-
stackName
The name of the stack that is associated with the user.- Parameters:
stackName
- The name of the stack that is associated with the user. This parameter is required.- Returns:
this
-
userName
The email address of the user who is associated with the stack.Users' email addresses are case-sensitive.
- Parameters:
userName
- The email address of the user who is associated with the stack. This parameter is required.- Returns:
this
-
sendEmailNotification
@Stability(Stable) public CfnStackUserAssociation.Builder sendEmailNotification(Boolean sendEmailNotification) Specifies whether a welcome email is sent to a user after the user is created in the user pool.- Parameters:
sendEmailNotification
- Specifies whether a welcome email is sent to a user after the user is created in the user pool. This parameter is required.- Returns:
this
-
sendEmailNotification
@Stability(Stable) public CfnStackUserAssociation.Builder sendEmailNotification(IResolvable sendEmailNotification) Specifies whether a welcome email is sent to a user after the user is created in the user pool.- Parameters:
sendEmailNotification
- Specifies whether a welcome email is sent to a user after the user is created in the user pool. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStackUserAssociation>
- Returns:
- a newly built instance of
CfnStackUserAssociation
.
-