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 column or attribute in the data source.

Required: Yes

Type: String

Minimum: 1

Maximum: 100

Pattern: ^[a-zA-Z][a-zA-Z0-9_.]*$

Update requires: No interruption

DateFieldFormat

The type of data stored in the column or attribute.

Required: No

Type: String

Minimum: 4

Maximum: 40

Pattern: ^(?!\s).*(?<!\s)$

Update requires: No interruption

IndexFieldName

The name of the field in the index.

Required: Yes

Type: String

Minimum: 1

Maximum: 30

Pattern: ^\P{C}*$

Update requires: No interruption