Data Source: awsKendraFaq
Provides details about a specific Amazon Kendra Faq.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsKendraFaq.DataAwsKendraFaq(this, "test", {
faqId: "87654321-1234-4321-4321-321987654321",
indexId: "12345678-1234-1234-1234-123456789123",
});
Argument Reference
The following arguments are supported:
faqId
- (Required) Identifier of the FAQ.indexId
- (Required) Identifier of the index that contains the FAQ.
Attributes Reference
In addition to all of the arguments above, the following attributes are exported:
arn
- ARN of the FAQ.createdAt
- Unix datetime that the faq was created.description
- Description of the FAQ.errorMessage
- When thestatus
field value isfailed
, this contains a message that explains why.fileFormat
- File format used by the input files for the FAQ. Valid Values arecsv
,CSV_WITH_HEADER
,json
.id
- Unique identifiers of the FAQ and index separated by a slash (/
).languageCode
- Code for a language. This shows a supported language for the FAQ document. For more information on supported languages, including their codes, see Adding documents in languages other than English.name
- Name of the FAQ.roleArn
- ARN of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.s3Path
- S3 location of the FAQ input data. Detailed below.status
- Status of the FAQ. It is ready to use when the status is ACTIVE.updatedAt
- Date and time that the FAQ was last updated.tags
- Metadata that helps organize the FAQs you create.
The s3Path
configuration block supports the following attributes:
bucket
- Name of the S3 bucket that contains the file.key
- Name of the file.