AWS::Kendra::DataSource DataSourceToIndexFieldMapping - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Kendra::DataSource DataSourceToIndexFieldMapping

Maps a column or attribute in the data source to an index field. You must first create the fields in the index using the UpdateIndex operation.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "DataSourceFieldName" : String, "DateFieldFormat" : String, "IndexFieldName" : String }

YAML

DataSourceFieldName: String DateFieldFormat: String IndexFieldName: String

Properties

DataSourceFieldName

The name of the field in the data source. You must first create the index field using the UpdateIndex API.

Required: Yes

Type: String

Minimum: 1

Maximum: 100

Update requires: No interruption

DateFieldFormat

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field, you must specify the date format. If the field is not a date field, an exception is thrown.

Required: No

Type: String

Minimum: 4

Maximum: 40

Update requires: No interruption

IndexFieldName

The name of the index field to map to the data source field. The index field type must match the data source field type.

Required: Yes

Type: String

Minimum: 1

Maximum: 30

Update requires: No interruption