import { Value } from '../../../cloudformation/Value';
/**
  Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-cognitooptions.html">the AWS Docs</a>
*/
export interface CognitoOptionsProps {
    /** <code>Enabled</code>  <a name="cfn-elasticsearch-domain-cognitooptions-enabled"></a>
  Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards. See <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html">Amazon Cognito authentication for OpenSearch Dashboards</a>.<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> */
    enabled?: Value<boolean>;
    /** <code>IdentityPoolId</code>  <a name="cfn-elasticsearch-domain-cognitooptions-identitypoolid"></a>
  The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication. Required if you enable Cognito authentication.<br />
  
  Required: Conditional<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> */
    identityPoolId?: Value<string>;
    /** <code>RoleArn</code>  <a name="cfn-elasticsearch-domain-cognitooptions-rolearn"></a>
  The <code>AmazonESCognitoAccess</code> role that allows OpenSearch Service to configure your user pool and identity pool. Required if you enable Cognito authentication.<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> */
    roleArn?: Value<string>;
    /** <code>UserPoolId</code>  <a name="cfn-elasticsearch-domain-cognitooptions-userpoolid"></a>
  The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication. Required if you enable Cognito authentication.<br />
  
  Required: Conditional<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>;
}
