Interface CfnThesaurusProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnThesaurusProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:12.363Z")
@Stability(Stable)
public interface CfnThesaurusProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnThesaurus.
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.*;
CfnThesaurusProps cfnThesaurusProps = CfnThesaurusProps.builder()
.indexId("indexId")
.name("name")
.roleArn("roleArn")
.sourceS3Path(S3PathProperty.builder()
.bucket("bucket")
.key("key")
.build())
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThesaurusPropsstatic final classAn implementation forCfnThesaurusProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnThesaurusProps.Builderbuilder()default StringA description for the thesaurus.The identifier of the index for the thesaurus.getName()A name for the thesaurus.An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.Information required to find a specific file in an Amazon S3 bucket.getTags()A list of key-value pairs that identify or categorize the thesaurus.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIndexId
The identifier of the index for the thesaurus.- See Also:
-
getName
A name for the thesaurus.- See Also:
-
getRoleArn
An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.- See Also:
-
getSourceS3Path
Information required to find a specific file in an Amazon S3 bucket.Returns union: either
IResolvableorCfnThesaurus.S3PathProperty- See Also:
-
getDescription
A description for the thesaurus.- See Also:
-
getTags
A list of key-value pairs that identify or categorize the thesaurus.- See Also:
-
builder
- Returns:
- a
CfnThesaurusProps.BuilderofCfnThesaurusProps
-