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 Details

    • create

      @Stability(Stable) public static CfnStackUserAssociation.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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
    • stackName

      @Stability(Stable) public CfnStackUserAssociation.Builder stackName(String 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

      @Stability(Stable) public CfnStackUserAssociation.Builder userName(String 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

      @Stability(Stable) public CfnStackUserAssociation build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnStackUserAssociation>
      Returns:
      a newly built instance of CfnStackUserAssociation.