| Modifier and Type | Method and Description |
|---|---|
CfnFaq |
build() |
static CfnFaq.Builder |
create(software.constructs.Construct scope,
String id) |
CfnFaq.Builder |
description(String description)
A description of the FAQ.
|
CfnFaq.Builder |
fileFormat(String fileFormat)
The format of the input file.
|
CfnFaq.Builder |
indexId(String indexId)
The identifier of the index that contains the FAQ.
|
CfnFaq.Builder |
name(String name)
The name that you assigned the FAQ when you created or updated the FAQ.
|
CfnFaq.Builder |
roleArn(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(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) public static CfnFaq.Builder create(software.constructs.Construct scope, 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.@Stability(value=Stable) public CfnFaq.Builder indexId(String indexId)
indexId - The identifier of the index that contains the FAQ. This parameter is required.this@Stability(value=Stable) public CfnFaq.Builder name(String name)
name - The name that you assigned the FAQ when you created or updated the FAQ. This parameter is required.this@Stability(value=Stable) public CfnFaq.Builder roleArn(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@Stability(value=Stable) 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@Stability(value=Stable) 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@Stability(value=Stable) public CfnFaq.Builder description(String description)
description - A description of the FAQ. This parameter is required.this@Stability(value=Stable) public CfnFaq.Builder fileFormat(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:
CSVCSV_WITH_HEADERJSONfileFormat - The format of the input file. This parameter is required.this@Stability(value=Stable) public CfnFaq.Builder tags(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.thisCopyright © 2022. All rights reserved.