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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataSource.ColumnConfigurationProperty
static final class
An implementation forCfnDataSource.ColumnConfigurationProperty
-
Method Summary
Modifier 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 String
The column that contains the title of the document.default Object
An 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
-
getChangeDetectingColumns
One to five columns that indicate when a document in the database has changed.- See Also:
-
getDocumentDataColumnName
The column that contains the contents of the document.- See Also:
-
getDocumentIdColumnName
The column that provides the document's identifier.- See Also:
-
getDocumentTitleColumnName
The column that contains the title of the document.- See Also:
-
getFieldMappings
An 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.
- See Also:
-
builder
-