Interface CfnFaqProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFaqProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:58.176Z")
@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") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
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.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. -
getName
The name that you assigned the FAQ when you created or updated the FAQ. -
getRoleArn
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ. -
getS3Path
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. -
getDescription
A description for the FAQ. -
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
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnFaqProps.Builder
ofCfnFaqProps
-