import { ConfluenceAttachmentToIndexFieldMappingProps } from './ConfluenceAttachmentToIndexFieldMappingProps';
import { Value } from '../../../cloudformation/Value';
/**
  Configuration of attachment settings for the Confluence data source. Attachment settings are optional, if you don’t specify settings attachments, Amazon Kendra won’t index them.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceattachmentconfiguration.html">the AWS Docs</a>
*/
export interface ConfluenceAttachmentConfigurationProps {
    /** <code>AttachmentFieldMappings</code>  <a name="cfn-kendra-datasource-confluenceattachmentconfiguration-attachmentfieldmappings"></a>
  Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Confluence fields. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>. The Confluence data source field names must exist in your Confluence custom metadata.<br />
  If you specify the <code>AttachentFieldMappings</code> parameter, you must specify at least one field mapping.<br />
  
  Required: No<br />
  
  Maximum: <code>11</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> */
    attachmentFieldMappings?: ConfluenceAttachmentToIndexFieldMappingProps[];
    /** <code>CrawlAttachments</code>  <a name="cfn-kendra-datasource-confluenceattachmentconfiguration-crawlattachments"></a>
  <code>TRUE</code> to index attachments of pages and blogs in Confluence.<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> */
    crawlAttachments?: Value<boolean>;
}
