AWS::Kendra::FaqCreates an new set of frequently asked question (FAQ) questions and answers.
import { CfnFaq } from 'aws-cdk-lib/aws-kendra';Or use the module namespace:
import * as kendra from 'aws-cdk-lib/aws-kendra';
// kendra.CfnFaqConfiguration passed to the constructor as CfnFaqProps.
indexIdRequiredstringThe identifier of the index that contains the FAQ.
nameRequiredstringThe name that you assigned the FAQ when you created or updated the FAQ.
roleArnRequiredstringThe Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.
s3PathRequiredIResolvable | S3PathPropertyThe Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.
descriptionOptionalstringA description for the FAQ.
fileFormatOptionalstringThe format of the 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. The format must match the format of the file stored in the S3 bucket identified in the S3Path parameter. Valid values are: - `CSV` - `CSV_WITH_HEADER` - `JSON`
languageCodeOptionalstringThe code for a language. This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see [Adding documents in languages other than English](https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html) .
tagsOptionalCfnTag[]An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-kendraAWS::Kendra::Faq