Interface CfnDataSource.ColumnConfigurationProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnDataSource.ColumnConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.ColumnConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Provides information about how Amazon Kendra should use the columns of a database in an index.
 
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.*;
 ColumnConfigurationProperty columnConfigurationProperty = ColumnConfigurationProperty.builder()
         .changeDetectingColumns(List.of("changeDetectingColumns"))
         .documentDataColumnName("documentDataColumnName")
         .documentIdColumnName("documentIdColumnName")
         // the properties below are optional
         .documentTitleColumnName("documentTitleColumnName")
         .fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
                 .dataSourceFieldName("dataSourceFieldName")
                 .indexFieldName("indexFieldName")
                 // the properties below are optional
                 .dateFieldFormat("dateFieldFormat")
                 .build()))
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSource.ColumnConfigurationPropertystatic final classAn implementation forCfnDataSource.ColumnConfigurationProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()One to five columns that indicate when a document in the database has changed.The column that contains the contents of the document.The column that provides the document's identifier.default StringThe column that contains the title of the document.default ObjectAn array of objects that map database column names to the corresponding fields in an index.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getChangeDetectingColumnsOne to five columns that indicate when a document in the database has changed.
- 
getDocumentDataColumnNameThe column that contains the contents of the document.
- 
getDocumentIdColumnNameThe column that provides the document's identifier.
- 
getDocumentTitleColumnNameThe column that contains the title of the document.
- 
getFieldMappingsAn array of objects that map database column names to the corresponding fields in an index.You must first create the fields in the index using the UpdateIndex operation. 
- 
builder
 
-