Interface CfnFaqProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFaqProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-14T22:21:56.956Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFaqPropsstatic final classAn implementation forCfnFaqProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFaqProps.Builderbuilder()default StringA description for the FAQ.default StringThe format of the input file.The identifier of the index that contains the FAQ.default StringThe 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:
CSVCSV_WITH_HEADERJSON
- See Also:
-
getLanguageCode
The code for a language.- 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.BuilderofCfnFaqProps
-