import { Value } from '../../../cloudformation/Value';
/**
  The <code>UserPoolConfig</code> property type specifies the optional authorization configuration for using Amazon Cognito user pools with your GraphQL endpoint for an AWS AppSync GraphQL API.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-userpoolconfig.html">the AWS Docs</a>
*/
export interface UserPoolConfigProps {
    /** <code>AppIdClientRegex</code>  <a name="cfn-appsync-graphqlapi-userpoolconfig-appidclientregex"></a>
  A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn’t set, no filtering is applied.<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> */
    appIdClientRegex?: Value<string>;
    /** <code>UserPoolId</code>  <a name="cfn-appsync-graphqlapi-userpoolconfig-userpoolid"></a>
  The user pool ID.<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> */
    userPoolId?: Value<string>;
    /** <code>AwsRegion</code>  <a name="cfn-appsync-graphqlapi-userpoolconfig-awsregion"></a>
  The AWS Region in which the user pool was created.<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> */
    awsRegion?: Value<string>;
    /** <code>DefaultAction</code>  <a name="cfn-appsync-graphqlapi-userpoolconfig-defaultaction"></a>
  The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn’t match the Amazon Cognito user pool configuration.<br />
  When specifying Amazon Cognito user pools as the default authentication, you must set the value for <code>DefaultAction</code> to <code>ALLOW</code> if specifying <code>AdditionalAuthenticationProviders</code>.<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> */
    defaultAction?: Value<string>;
}
