Class CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty
Provides the configuration information for the knowledge article types that Amazon Kendra indexes.
Inheritance
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SalesforceKnowledgeArticleConfigurationProperty : Object, CfnDataSource.ISalesforceKnowledgeArticleConfigurationProperty
Syntax (vb)
Public Class SalesforceKnowledgeArticleConfigurationProperty
Inherits Object
Implements CfnDataSource.ISalesforceKnowledgeArticleConfigurationProperty
Remarks
Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both
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 salesforceKnowledgeArticleConfigurationProperty = new SalesforceKnowledgeArticleConfigurationProperty {
IncludedStates = new [] { "includedStates" },
// the properties below are optional
CustomKnowledgeArticleTypeConfigurations = new [] { new SalesforceCustomKnowledgeArticleTypeConfigurationProperty {
DocumentDataFieldName = "documentDataFieldName",
Name = "name",
// the properties below are optional
DocumentTitleFieldName = "documentTitleFieldName",
FieldMappings = new [] { new DataSourceToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
IndexFieldName = "indexFieldName",
// the properties below are optional
DateFieldFormat = "dateFieldFormat"
} }
} },
StandardKnowledgeArticleTypeConfiguration = 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
SalesforceKnowledgeArticleConfigurationProperty() |
Properties
CustomKnowledgeArticleTypeConfigurations | Configuration information for custom Salesforce knowledge articles. |
IncludedStates | Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. |
StandardKnowledgeArticleTypeConfiguration | Configuration information for standard Salesforce knowledge articles. |
Constructors
SalesforceKnowledgeArticleConfigurationProperty()
public SalesforceKnowledgeArticleConfigurationProperty()
Properties
CustomKnowledgeArticleTypeConfigurations
Configuration information for custom Salesforce knowledge articles.
public object CustomKnowledgeArticleTypeConfigurations { get; set; }
Property Value
System.Object
Remarks
IncludedStates
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
public string[] IncludedStates { get; set; }
Property Value
System.String[]
Remarks
StandardKnowledgeArticleTypeConfiguration
Configuration information for standard Salesforce knowledge articles.
public object StandardKnowledgeArticleTypeConfiguration { get; set; }
Property Value
System.Object