Interface CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Provides the configuration information for the knowledge article types that Amazon Kendra indexes.
Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both
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.*; SalesforceKnowledgeArticleConfigurationProperty salesforceKnowledgeArticleConfigurationProperty = SalesforceKnowledgeArticleConfigurationProperty.builder() .includedStates(List.of("includedStates")) // the properties below are optional .customKnowledgeArticleTypeConfigurations(List.of(SalesforceCustomKnowledgeArticleTypeConfigurationProperty.builder() .documentDataFieldName("documentDataFieldName") .name("name") // 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())) .standardKnowledgeArticleTypeConfiguration(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()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnDataSource.SalesforceKnowledgeArticleConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Configuration information for custom Salesforce knowledge articles.Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.default Object
Configuration information for standard Salesforce knowledge articles.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIncludedStates
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.You must specify at least one state.
-
getCustomKnowledgeArticleTypeConfigurations
Configuration information for custom Salesforce knowledge articles. -
getStandardKnowledgeArticleTypeConfiguration
Configuration information for standard Salesforce knowledge articles. -
builder
@Stability(Stable) static CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Builder builder()
-