Class CfnFaqProps
Properties for defining a CfnFaq
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFaqProps : Object, ICfnFaqProps
Syntax (vb)
Public Class CfnFaqProps
Inherits Object
Implements ICfnFaqProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var cfnFaqProps = new CfnFaqProps {
IndexId = "indexId",
Name = "name",
RoleArn = "roleArn",
S3Path = new S3PathProperty {
Bucket = "bucket",
Key = "key"
},
// the properties below are optional
Description = "description",
FileFormat = "fileFormat",
LanguageCode = "languageCode",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnFaqProps() |
Properties
Description | A description for the FAQ. |
FileFormat | The format of the input file. |
IndexId | The identifier of the index that contains the FAQ. |
LanguageCode | The code for a language. |
Name | The name that you assigned the FAQ when you created or updated the FAQ. |
RoleArn | The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ. |
S3Path | The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnFaqProps()
public CfnFaqProps()
Properties
Description
A description for the FAQ.
public string Description { get; set; }
Property Value
System.String
Remarks
FileFormat
The format of the input file.
public string FileFormat { get; set; }
Property Value
System.String
Remarks
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:
IndexId
The identifier of the index that contains the FAQ.
public string IndexId { get; set; }
Property Value
System.String
Remarks
LanguageCode
The code for a language.
public string LanguageCode { get; set; }
Property Value
System.String
Remarks
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 .
Name
The name that you assigned the FAQ when you created or updated the FAQ.
public string Name { get; set; }
Property Value
System.String
Remarks
RoleArn
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
S3Path
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.
public object S3Path { get; set; }
Property Value
System.Object
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .