Interface CfnFaqProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFaqProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:03.473Z")
@Stability(Stable)
public interface CfnFaqProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFaq
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kendra.*; CfnFaqProps cfnFaqProps = CfnFaqProps.builder() .indexId("indexId") .name("name") .roleArn("roleArn") .s3Path(S3PathProperty.builder() .bucket("bucket") .key("key") .build()) // the properties below are optional .description("description") .fileFormat("fileFormat") .languageCode("languageCode") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFaqProps
static final class
An implementation forCfnFaqProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFaqProps.Builder
builder()
default String
A description for the FAQ.default String
The format of the input file.The identifier of the index that contains the FAQ.default String
The code for a language.getName()
The name that you assigned the FAQ when you created or updated the FAQ.The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.getTags()
An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIndexId
The identifier of the index that contains the FAQ.- See Also:
-
getName
The name that you assigned the FAQ when you created or updated the FAQ.- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.- See Also:
-
getS3Path
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.- See Also:
-
getDescription
A description for the FAQ.- See Also:
-
getFileFormat
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
- See Also:
-
getLanguageCode
The 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 .
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnFaqProps.Builder
ofCfnFaqProps
-