Interface CfnDataSourcePropsMixin.SalesforceKnowledgeArticleConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.SalesforceKnowledgeArticleConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.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.cfnpropertymixins.services.kendra.*;
SalesforceKnowledgeArticleConfigurationProperty salesforceKnowledgeArticleConfigurationProperty = SalesforceKnowledgeArticleConfigurationProperty.builder()
.customKnowledgeArticleTypeConfigurations(List.of(SalesforceCustomKnowledgeArticleTypeConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.name("name")
.build()))
.includedStates(List.of("includedStates"))
.standardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataSourcePropsMixin.SalesforceKnowledgeArticleConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration information for custom Salesforce knowledge articles.Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.default ObjectConfiguration information for standard Salesforce knowledge articles.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomKnowledgeArticleTypeConfigurations
Configuration information for custom Salesforce knowledge articles.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataSourcePropsMixin.SalesforceCustomKnowledgeArticleTypeConfigurationProperty>- See Also:
-
getIncludedStates
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.You must specify at least one state.
- See Also:
-
getStandardKnowledgeArticleTypeConfiguration
Configuration information for standard Salesforce knowledge articles.Returns union: either
IResolvableorCfnDataSourcePropsMixin.SalesforceStandardKnowledgeArticleTypeConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnDataSourcePropsMixin.SalesforceKnowledgeArticleConfigurationProperty.Builder builder()
-