Builder

class Builder

Properties

Link copied to clipboard

A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest API with the same client token will create only one FAQ.

Link copied to clipboard

A description for the FAQ.

Link copied to clipboard

The format of the FAQ input file. You can choose between a basic CSV format, a CSV format that includes customs attributes in a header, and a JSON format that includes custom attributes.

Link copied to clipboard

The identifier of the index for the FAQ.

Link copied to clipboard

The code for a language. This allows you to support a language for the FAQ document. 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
var name: String?

A name for the FAQ.

Link copied to clipboard

The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 bucket that contains the FAQ file. For more information, see IAM access roles for Amazon Kendra.

Link copied to clipboard

The path to the FAQ file in S3.

Link copied to clipboard
var tags: List<Tag>?

A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.

Functions

Link copied to clipboard
fun s3Path(block: S3Path.Builder.() -> Unit)