Modifier and Type | Method and Description |
---|---|
CfnFaq |
build() |
static CfnFaq.Builder |
create(Construct scope,
java.lang.String id) |
CfnFaq.Builder |
description(java.lang.String description)
A description of the FAQ.
|
CfnFaq.Builder |
fileFormat(java.lang.String fileFormat)
The format of the input file.
|
CfnFaq.Builder |
indexId(java.lang.String indexId)
The identifier of the index that contains the FAQ.
|
CfnFaq.Builder |
name(java.lang.String name)
The name that you assigned the FAQ when you created or updated the FAQ.
|
CfnFaq.Builder |
roleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.
|
CfnFaq.Builder |
s3Path(CfnFaq.S3PathProperty s3Path)
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.
|
CfnFaq.Builder |
s3Path(IResolvable s3Path)
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.
|
CfnFaq.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
public static CfnFaq.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnFaq.S3PathProperty.Builder
.public CfnFaq.Builder indexId(java.lang.String indexId)
indexId
- The identifier of the index that contains the FAQ. This parameter is required.this
public CfnFaq.Builder name(java.lang.String name)
name
- The name that you assigned the FAQ when you created or updated the FAQ. This parameter is required.this
public CfnFaq.Builder roleArn(java.lang.String roleArn)
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ. This parameter is required.this
public CfnFaq.Builder s3Path(IResolvable s3Path)
s3Path
- The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. This parameter is required.this
public CfnFaq.Builder s3Path(CfnFaq.S3PathProperty s3Path)
s3Path
- The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. This parameter is required.this
public CfnFaq.Builder description(java.lang.String description)
description
- A description of the FAQ. This parameter is required.this
public CfnFaq.Builder fileFormat(java.lang.String fileFormat)
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
fileFormat
- The format of the input file. This parameter is required.this
public CfnFaq.Builder tags(java.util.List<? extends CfnTag> tags)
For more information, see Tag .
tags
- An array of key-value pairs to apply to this resource. This parameter is required.this
public CfnFaq build()