Class CfnDataSourcePropsMixin.SalesforceKnowledgeArticleConfigurationProperty
Provides the configuration information for the knowledge article types that Amazon Kendra indexes.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Kendra.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDataSourcePropsMixin.SalesforceKnowledgeArticleConfigurationProperty : CfnDataSourcePropsMixin.ISalesforceKnowledgeArticleConfigurationProperty
Syntax (vb)
Public Class CfnDataSourcePropsMixin.SalesforceKnowledgeArticleConfigurationProperty Implements CfnDataSourcePropsMixin.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.Mixins.Preview.AWS.Kendra.Mixins;
var salesforceKnowledgeArticleConfigurationProperty = new SalesforceKnowledgeArticleConfigurationProperty {
CustomKnowledgeArticleTypeConfigurations = new [] { new SalesforceCustomKnowledgeArticleTypeConfigurationProperty {
DocumentDataFieldName = "documentDataFieldName",
DocumentTitleFieldName = "documentTitleFieldName",
FieldMappings = new [] { new DataSourceToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
DateFieldFormat = "dateFieldFormat",
IndexFieldName = "indexFieldName"
} },
Name = "name"
} },
IncludedStates = new [] { "includedStates" },
StandardKnowledgeArticleTypeConfiguration = new SalesforceStandardKnowledgeArticleTypeConfigurationProperty {
DocumentDataFieldName = "documentDataFieldName",
DocumentTitleFieldName = "documentTitleFieldName",
FieldMappings = new [] { new DataSourceToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
DateFieldFormat = "dateFieldFormat",
IndexFieldName = "indexFieldName"
} }
}
};
Synopsis
Constructors
| SalesforceKnowledgeArticleConfigurationProperty() | Provides the configuration information for the knowledge article types that Amazon Kendra indexes. |
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()
Provides the configuration information for the knowledge article types that Amazon Kendra indexes.
public SalesforceKnowledgeArticleConfigurationProperty()
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.Mixins.Preview.AWS.Kendra.Mixins;
var salesforceKnowledgeArticleConfigurationProperty = new SalesforceKnowledgeArticleConfigurationProperty {
CustomKnowledgeArticleTypeConfigurations = new [] { new SalesforceCustomKnowledgeArticleTypeConfigurationProperty {
DocumentDataFieldName = "documentDataFieldName",
DocumentTitleFieldName = "documentTitleFieldName",
FieldMappings = new [] { new DataSourceToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
DateFieldFormat = "dateFieldFormat",
IndexFieldName = "indexFieldName"
} },
Name = "name"
} },
IncludedStates = new [] { "includedStates" },
StandardKnowledgeArticleTypeConfiguration = new SalesforceStandardKnowledgeArticleTypeConfigurationProperty {
DocumentDataFieldName = "documentDataFieldName",
DocumentTitleFieldName = "documentTitleFieldName",
FieldMappings = new [] { new DataSourceToIndexFieldMappingProperty {
DataSourceFieldName = "dataSourceFieldName",
DateFieldFormat = "dateFieldFormat",
IndexFieldName = "indexFieldName"
} }
}
};
Properties
CustomKnowledgeArticleTypeConfigurations
Configuration information for custom Salesforce knowledge articles.
public object? CustomKnowledgeArticleTypeConfigurations { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnDataSourcePropsMixin.ISalesforceCustomKnowledgeArticleTypeConfigurationProperty)[]
IncludedStates
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
public string[]? IncludedStates { get; set; }
Property Value
string[]
Remarks
StandardKnowledgeArticleTypeConfiguration
Configuration information for standard Salesforce knowledge articles.
public object? StandardKnowledgeArticleTypeConfiguration { get; set; }