@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.167Z") @Stability(value=Stable) public interface CfnFaqProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFaqProps.Builder
A builder for
CfnFaqProps |
static class |
CfnFaqProps.Jsii$Proxy
An implementation for
CfnFaqProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnFaqProps.Builder |
builder() |
default String |
getDescription()
A description of the FAQ.
|
default String |
getFileFormat()
The format of the input file.
|
String |
getIndexId()
The identifier of the index that contains the FAQ.
|
String |
getName()
The name that you assigned the FAQ when you created or updated the FAQ.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.
|
Object |
getS3Path()
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) @NotNull String getIndexId()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull Object getS3Path()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getFileFormat()
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@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnFaqProps.Builder builder()
CfnFaqProps.Builder of CfnFaqPropsCopyright © 2022. All rights reserved.