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
@Stability(Stable) public static CfnStackUserAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStackUserAssociation>
- Returns:
- a newly built instance of
CfnStackUserAssociation
.
-