import { Value } from '../../../cloudformation/Value';
import { DocumentAttributeValueProps } from './DocumentAttributeValueProps';
/**
  The condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra. You use this with <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_DocumentAttributeTarget.html">DocumentAttributeTarget to apply the condition</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-documentattributecondition.html">the AWS Docs</a>
*/
export interface DocumentAttributeConditionProps {
    /** <code>Operator</code>  <a name="cfn-kendra-datasource-documentattributecondition-operator"></a>
  The condition operator.<br />
  For example, you can use ‘Contains’ to partially match a string.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>BeginsWith | Contains | Equals | Exists | GreaterThan | GreaterThanOrEquals | LessThan | LessThanOrEquals | NotContains | NotEquals | NotExists</code><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> */
    operator: Value<'BeginsWith' | 'Contains' | 'Equals' | 'Exists' | 'GreaterThan' | 'GreaterThanOrEquals' | 'LessThan' | 'LessThanOrEquals' | 'NotContains' | 'NotEquals' | 'NotExists'>;
    /** <code>ConditionDocumentAttributeKey</code>  <a name="cfn-kendra-datasource-documentattributecondition-conditiondocumentattributekey"></a>
  The identifier of the document attribute used for the condition.<br />
  For example, ‘Source_URI’ could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.<br />
  Amazon Kendra currently does not support <code>_document_body</code> as an attribute key used for the condition.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>200</code><br />
  
  Pattern: <code>[a-zA-Z0-9_][a-zA-Z0-9_-]*</code><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> */
    conditionDocumentAttributeKey: Value<string>;
    /** <code>ConditionOnValue</code>  <a name="cfn-kendra-datasource-documentattributecondition-conditiononvalue"></a>
  The value used by the operator.<br />
  For example, you can specify the value ‘financial’ for strings in the ‘Source_URI’ field that partially match or contain this value.<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> */
    conditionOnValue?: DocumentAttributeValueProps;
}
