AWS::Kendra::Faq
Creates an new set of frequently asked question (FAQ) questions and answers.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Kendra::Faq", "Properties" : { "Description" :String, "FileFormat" :String, "IndexId" :String, "Name" :String, "RoleArn" :String, "S3Path" :S3Path, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::Kendra::Faq Properties: Description:StringFileFormat:StringIndexId:StringName:StringRoleArn:StringS3Path:S3PathTags:- Tag
Properties
Description-
A description for the FAQ.
Required: No
Type: String
Update requires: Replacement
FileFormat-
The 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
Required: No
Type: String
Update requires: Replacement
-
IndexId-
The identifier of the index that contains the FAQ.
Required: Yes
Type: String
Update requires: Replacement
Name-
The name that you assigned the FAQ when you created or updated the FAQ.
Required: Yes
Type: String
Minimum:
1Maximum:
100Pattern:
[a-zA-Z0-9][a-zA-Z0-9_-]*Update requires: Replacement
RoleArn-
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.
Required: Yes
Type: String
Update requires: Replacement
S3Path-
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.
Required: Yes
Type: S3Path
Update requires: Replacement
Tags-
An array of key-value pairs to apply to this resource
For more information, see Tag.
Required: No
Type: List of Tag
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the FAQ identifier. For
example:
{ "Ref": "<faq-id>|<index-id>" }
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.