Class CfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty
Provides the configuration information for standard Salesforce knowledge articles.
Inheritance
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SalesforceStandardKnowledgeArticleTypeConfigurationProperty : Object, CfnDataSource.ISalesforceStandardKnowledgeArticleTypeConfigurationProperty
Syntax (vb)
Public Class SalesforceStandardKnowledgeArticleTypeConfigurationProperty
Inherits Object
Implements CfnDataSource.ISalesforceStandardKnowledgeArticleTypeConfigurationProperty
Remarks
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 salesforceStandardKnowledgeArticleTypeConfigurationProperty = new SalesforceStandardKnowledgeArticleTypeConfigurationProperty {
DocumentDataFieldName = "documentDataFieldName",
// the properties below are optional
DocumentTitleFieldName = "documentTitleFieldName",
FieldMappings = new [] { new DataSourceToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
IndexFieldName = "indexFieldName",
// the properties below are optional
DateFieldFormat = "dateFieldFormat"
} }
};
Synopsis
Constructors
SalesforceStandardKnowledgeArticleTypeConfigurationProperty() |
Properties
DocumentDataFieldName | The name of the field that contains the document data to index. |
DocumentTitleFieldName | The name of the field that contains the document title. |
FieldMappings | Maps attributes or field names of the knowledge article to Amazon Kendra index field names. |
Constructors
SalesforceStandardKnowledgeArticleTypeConfigurationProperty()
public SalesforceStandardKnowledgeArticleTypeConfigurationProperty()
Properties
DocumentDataFieldName
The name of the field that contains the document data to index.
public string DocumentDataFieldName { get; set; }
Property Value
System.String
Remarks
DocumentTitleFieldName
The name of the field that contains the document title.
public string DocumentTitleFieldName { get; set; }
Property Value
System.String
Remarks
FieldMappings
Maps attributes or field names of the knowledge article to Amazon Kendra index field names.
public object FieldMappings { get; set; }
Property Value
System.Object
Remarks
To create custom fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields . The Salesforce data source field names must exist in your Salesforce custom metadata.