Interface CfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Provides the configuration information for standard Salesforce knowledge articles.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kendra.*; SalesforceStandardKnowledgeArticleTypeConfigurationProperty salesforceStandardKnowledgeArticleTypeConfigurationProperty = SalesforceStandardKnowledgeArticleTypeConfigurationProperty.builder() .documentDataFieldName("documentDataFieldName") // the properties below are optional .documentTitleFieldName("documentTitleFieldName") .fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder() .dataSourceFieldName("dataSourceFieldName") .indexFieldName("indexFieldName") // the properties below are optional .dateFieldFormat("dateFieldFormat") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDocumentDataFieldName
The name of the field that contains the document data to index. -
getDocumentTitleFieldName
The name of the field that contains the document title. -
getFieldMappings
Maps attributes or field names of the knowledge article to Amazon Kendra index field names.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. -
builder
@Stability(Stable) static CfnDataSource.SalesforceStandardKnowledgeArticleTypeConfigurationProperty.Builder builder()
-