Class CfnDataSource.ConfluenceAttachmentConfigurationProperty
Configuration of attachment settings for the Confluence data source.
Inheritance
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConfluenceAttachmentConfigurationProperty : Object, CfnDataSource.IConfluenceAttachmentConfigurationProperty
Syntax (vb)
Public Class ConfluenceAttachmentConfigurationProperty
Inherits Object
Implements CfnDataSource.IConfluenceAttachmentConfigurationProperty
Remarks
Attachment settings are optional, if you don't specify settings attachments, Amazon Kendra won't index them.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var confluenceAttachmentConfigurationProperty = new ConfluenceAttachmentConfigurationProperty {
AttachmentFieldMappings = new [] { new ConfluenceAttachmentToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
IndexFieldName = "indexFieldName",
// the properties below are optional
DateFieldFormat = "dateFieldFormat"
} },
CrawlAttachments = false
};
Synopsis
Constructors
ConfluenceAttachmentConfigurationProperty() |
Properties
AttachmentFieldMappings | Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. |
CrawlAttachments |
|
Constructors
ConfluenceAttachmentConfigurationProperty()
public ConfluenceAttachmentConfigurationProperty()
Properties
AttachmentFieldMappings
Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.
public object AttachmentFieldMappings { get; set; }
Property Value
System.Object
Remarks
To create custom fields, use the UpdateIndex
API before you map to Confluence fields. For more information, see Mapping data source fields . The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the AttachentFieldMappings
parameter, you must specify at least one field mapping.
CrawlAttachments
TRUE
to index attachments of pages and blogs in Confluence.
public object CrawlAttachments { get; set; }
Property Value
System.Object