DataSourceArgs

data class DataSourceArgs(val customDocumentEnrichmentConfiguration: Output<DataSourceCustomDocumentEnrichmentConfigurationArgs>? = null, val dataSourceConfiguration: Output<DataSourceConfigurationArgs>? = null, val description: Output<String>? = null, val indexId: Output<String>? = null, val languageCode: Output<String>? = null, val name: Output<String>? = null, val roleArn: Output<String>? = null, val schedule: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val type: Output<DataSourceType>? = null) : ConvertibleToJava<DataSourceArgs>

Kendra DataSource

Constructors

Link copied to clipboard
constructor(customDocumentEnrichmentConfiguration: Output<DataSourceCustomDocumentEnrichmentConfigurationArgs>? = null, dataSourceConfiguration: Output<DataSourceConfigurationArgs>? = null, description: Output<String>? = null, indexId: Output<String>? = null, languageCode: Output<String>? = null, name: Output<String>? = null, roleArn: Output<String>? = null, schedule: Output<String>? = null, tags: Output<List<TagArgs>>? = null, type: Output<DataSourceType>? = null)

Properties

Link copied to clipboard

Configuration information for altering document metadata and content during the document ingestion process.

Link copied to clipboard

Configuration information for an Amazon Kendra data source. The contents of the configuration depend on the type of data source. You can only specify one type of data source in the configuration. You can't specify the Configuration parameter when the Type parameter is set to CUSTOM . The Configuration parameter is required for all other data sources.

Link copied to clipboard
val description: Output<String>? = null

A description for the data source connector.

Link copied to clipboard
val indexId: Output<String>? = null

The identifier of the index you want to use with the data source connector.

Link copied to clipboard
val languageCode: Output<String>? = null

The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English .

Link copied to clipboard
val name: Output<String>? = null

The name of the data source.

Link copied to clipboard
val roleArn: Output<String>? = null

The Amazon Resource Name (ARN) of a role with permission to access the data source. You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM . The RoleArn parameter is required for all other data sources.

Link copied to clipboard
val schedule: Output<String>? = null

Sets the frequency that Amazon Kendra checks the documents in your data source and updates the index. If you don't set a schedule, Amazon Kendra doesn't periodically update the index.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

Tags for labeling the data source

Link copied to clipboard
val type: Output<DataSourceType>? = null

The type of the data source.

Functions

Link copied to clipboard
open override fun toJava(): DataSourceArgs