Interface CfnDataSourcePropsMixin.ColumnConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.ColumnConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.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.cfnpropertymixins.services.kendra.*;
ColumnConfigurationProperty columnConfigurationProperty = ColumnConfigurationProperty.builder()
.changeDetectingColumns(List.of("changeDetectingColumns"))
.documentDataColumnName("documentDataColumnName")
.documentIdColumnName("documentIdColumnName")
.documentTitleColumnName("documentTitleColumnName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsMixin.ColumnConfigurationPropertystatic final classAn implementation forCfnDataSourcePropsMixin.ColumnConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()One to five columns that indicate when a document in the database has changed.default StringThe column that contains the contents of the document.default StringThe 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
-
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataSourcePropsMixin.DataSourceToIndexFieldMappingProperty>- See Also:
-
builder
-