ColumnConfiguration
Provides information about how Amazon Kendra should use the columns of a database in an index.
Contents
- ChangeDetectingColumns
-
One to five columns that indicate when a document in the database has changed.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 5 items.
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*$
Required: Yes
- DocumentDataColumnName
-
The column that contains the contents of the document.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*$
Required: Yes
- DocumentIdColumnName
-
The column that provides the document's identifier.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*$
Required: Yes
- DocumentTitleColumnName
-
The column that contains the title of the document.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*$
Required: No
- FieldMappings
-
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
API.Type: Array of DataSourceToIndexFieldMapping objects
Array Members: Minimum number of 1 item. Maximum number of 100 items.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: