Class CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty
Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.
Inheritance
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.AWS.Kendra.dll
Syntax (csharp)
public class ConfluenceSpaceToIndexFieldMappingProperty : Object, CfnDataSource.IConfluenceSpaceToIndexFieldMappingProperty
Syntax (vb)
Public Class ConfluenceSpaceToIndexFieldMappingProperty
Inherits Object
Implements CfnDataSource.IConfluenceSpaceToIndexFieldMappingProperty
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.
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 confluenceSpaceToIndexFieldMappingProperty = new ConfluenceSpaceToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
IndexFieldName = "indexFieldName",
// the properties below are optional
DateFieldFormat = "dateFieldFormat"
};
Synopsis
Constructors
ConfluenceSpaceToIndexFieldMappingProperty() |
Properties
DataSourceFieldName | The name of the field in the data source. |
DateFieldFormat | The format for date fields in the data source. |
IndexFieldName | The name of the index field to map to the Confluence data source field. |
Constructors
ConfluenceSpaceToIndexFieldMappingProperty()
public ConfluenceSpaceToIndexFieldMappingProperty()
Properties
DataSourceFieldName
The name of the field in the data source.
public string DataSourceFieldName { get; set; }
Property Value
System.String
Remarks
DateFieldFormat
The format for date fields in the data source.
public string DateFieldFormat { get; set; }
Property Value
System.String
Remarks
If the field specified in DataSourceFieldName
is a date field you must specify the date format. If the field is not a date field, an exception is thrown.
IndexFieldName
The name of the index field to map to the Confluence data source field.
public string IndexFieldName { get; set; }
Property Value
System.String
Remarks
The index field type must match the Confluence field type.