import { Value } from '../../cloudformation/Value';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::AppStream::StackUserAssociation</code> resource associates the specified users with the specified stacks for Amazon AppStream 2.0. Users in an AppStream 2.0 user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html">the AWS Docs</a>
*/
export type StackUserAssociation = AwsResource<'AWS::AppStream::StackUserAssociation', StackUserAssociationProperties>;
export declare function stackUserAssociation(stackUserAssociationProps: StackUserAssociationProperties): StackUserAssociation;
/**
  The <code>AWS::AppStream::StackUserAssociation</code> resource associates the specified users with the specified stacks for Amazon AppStream 2.0. Users in an AppStream 2.0 user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html">the AWS Docs</a>
*/
export interface StackUserAssociationProperties {
    /** <code>SendEmailNotification</code>  <a name="cfn-appstream-stackuserassociation-sendemailnotification"></a>
  Specifies whether a welcome email is sent to a user after the user is created in the user pool.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    sendEmailNotification?: Value<boolean>;
    /** <code>UserName</code>  <a name="cfn-appstream-stackuserassociation-username"></a>
  The email address of the user who is associated with the stack.<br />
  Users’ email addresses are case-sensitive.
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Pattern: <code>[\p{L}\p{M}\p{S}\p{N}\p{P}]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    userName: Value<string>;
    /** <code>StackName</code>  <a name="cfn-appstream-stackuserassociation-stackname"></a>
  The name of the stack that is associated with the user.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    stackName: Value<string>;
    /** <code>AuthenticationType</code>  <a name="cfn-appstream-stackuserassociation-authenticationtype"></a>
  The authentication type for the user who is associated with the stack. You must specify USERPOOL.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>API | AWS_AD | SAML | USERPOOL</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    authenticationType: Value<'API' | 'AWS_AD' | 'SAML' | 'USERPOOL'>;
}
