import { Value } from '../../../cloudformation/Value';
/**
  Maps attributes or field names of Confluence spaces 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.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespacetoindexfieldmapping.html">the AWS Docs</a>
*/
export interface ConfluenceSpaceToIndexFieldMappingProps {
    /** <code>DateFieldFormat</code>  <a name="cfn-kendra-datasource-confluencespacetoindexfieldmapping-datefieldformat"></a>
  The format for date fields in the data source. If the field specified in <code>DataSourceFieldName</code> is a date field you must specify the date format. If the field is not a date field, an exception is thrown.<br />
  
  Required: No<br />
  
  Minimum: <code>4</code><br />
  
  Maximum: <code>40</code><br />
  
  Pattern: <code>^(?!\s).*(?&lt;!\s)$</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> */
    dateFieldFormat?: Value<string>;
    /** <code>IndexFieldName</code>  <a name="cfn-kendra-datasource-confluencespacetoindexfieldmapping-indexfieldname"></a>
  The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>30</code><br />
  
  Pattern: <code>^\P{C}*$</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> */
    indexFieldName: Value<string>;
    /** <code>DataSourceFieldName</code>  <a name="cfn-kendra-datasource-confluencespacetoindexfieldmapping-datasourcefieldname"></a>
  The name of the field in the data source.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>DISPLAY_URL | ITEM_TYPE | SPACE_KEY | URL</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> */
    dataSourceFieldName: Value<'DISPLAY_URL' | 'ITEM_TYPE' | 'SPACE_KEY' | 'URL'>;
}
