import { Value } from '../../cloudformation/Value';
import { CustomDomainConfigTypeProps } from './userpooldomain/CustomDomainConfigTypeProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type UserPoolDomainAttributes = {
    CloudFrontDistribution: Attribute<string>;
};
export type UserPoolDomain = AwsResource<'AWS::Cognito::UserPoolDomain', UserPoolDomainProperties, UserPoolDomainAttributes>;
/**
  The AWS::Cognito::UserPoolDomain resource creates a new domain for a user pool.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html">the AWS Docs</a>
*/
export declare function userPoolDomain(userPoolDomainProps: UserPoolDomainProperties): UserPoolDomain;
/**
  The AWS::Cognito::UserPoolDomain resource creates a new domain for a user pool.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html">the AWS Docs</a>
*/
export interface UserPoolDomainProperties {
    /** <code>UserPoolId</code>  <a name="cfn-cognito-userpooldomain-userpoolid"></a>
  The user pool ID for the user pool where you want to associate a user pool domain.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>55</code><br />
  
  Pattern: <code>[\w-]+_[0-9a-zA-Z]+</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> */
    userPoolId: Value<string>;
    /** <code>CustomDomainConfig</code>  <a name="cfn-cognito-userpooldomain-customdomainconfig"></a>
  The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    customDomainConfig?: CustomDomainConfigTypeProps;
    /** <code>Domain</code>  <a name="cfn-cognito-userpooldomain-domain"></a>
  The domain name for the domain that hosts the sign-up and sign-in pages for your application. For example: <code>auth.example.com</code>. If you’re using a prefix domain, this field denotes the first part of the domain before <code>.auth.[region].amazoncognito.com</code>.<br />
  This string can include only lowercase letters, numbers, and hyphens. Don’t use a hyphen for the first or last character. Use periods to separate subdomain names.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>63</code><br />
  
  Pattern: <code>^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$</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> */
    domain: Value<string>;
}
