We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
A thesaurus for an Amazon Kendra index. The thesaurus contains a list of synonyms in Solr format.
Create Thesaurus Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Thesaurus(name: string, args: ThesaurusArgs, opts?: CustomResourceOptions);@overload
def Thesaurus(resource_name: str,
args: ThesaurusArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Thesaurus(resource_name: str,
opts: Optional[ResourceOptions] = None,
index_id: Optional[str] = None,
role_arn: Optional[str] = None,
source_s3_path: Optional[ThesaurusS3PathArgs] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewThesaurus(ctx *Context, name string, args ThesaurusArgs, opts ...ResourceOption) (*Thesaurus, error)public Thesaurus(string name, ThesaurusArgs args, CustomResourceOptions? opts = null)
public Thesaurus(String name, ThesaurusArgs args)
public Thesaurus(String name, ThesaurusArgs args, CustomResourceOptions options)
type: aws-native:kendra:Thesaurus
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_kendra_thesaurus" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ThesaurusArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ThesaurusArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ThesaurusArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ThesaurusArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ThesaurusArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Thesaurus Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Thesaurus resource accepts the following input properties:
- Index
Id string - The identifier of the index for the thesaurus.
- Role
Arn string - An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
- Source
S3Path Pulumi.Aws Native. Kendra. Inputs. Thesaurus S3Path - Description string
- A description for the thesaurus.
- Name string
- A name for the thesaurus.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of key-value pairs that identify or categorize the thesaurus.
- Index
Id string - The identifier of the index for the thesaurus.
- Role
Arn string - An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
- Source
S3Path ThesaurusS3Path Args - Description string
- A description for the thesaurus.
- Name string
- A name for the thesaurus.
-
Tag
Args - A list of key-value pairs that identify or categorize the thesaurus.
- index_
id string - The identifier of the index for the thesaurus.
- role_
arn string - An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
- source_
s3_ objectpath - description string
- A description for the thesaurus.
- name string
- A name for the thesaurus.
- list(object)
- A list of key-value pairs that identify or categorize the thesaurus.
- index
Id String - The identifier of the index for the thesaurus.
- role
Arn String - An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
- source
S3Path ThesaurusS3Path - description String
- A description for the thesaurus.
- name String
- A name for the thesaurus.
- List<Tag>
- A list of key-value pairs that identify or categorize the thesaurus.
- index
Id string - The identifier of the index for the thesaurus.
- role
Arn string - An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
- source
S3Path ThesaurusS3Path - description string
- A description for the thesaurus.
- name string
- A name for the thesaurus.
- Tag[]
- A list of key-value pairs that identify or categorize the thesaurus.
- index_
id str - The identifier of the index for the thesaurus.
- role_
arn str - An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
- source_
s3_ Thesauruspath S3Path Args - description str
- A description for the thesaurus.
- name str
- A name for the thesaurus.
-
Sequence[Tag
Args] - A list of key-value pairs that identify or categorize the thesaurus.
- index
Id String - The identifier of the index for the thesaurus.
- role
Arn String - An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
- source
S3Path Property Map - description String
- A description for the thesaurus.
- name String
- A name for the thesaurus.
- List<Property Map>
- A list of key-value pairs that identify or categorize the thesaurus.
Outputs
All input properties are implicitly available as output properties. Additionally, the Thesaurus resource produces the following output properties:
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.ThesaurusS3Path, ThesaurusS3PathArgs
Information required to find a specific file in an Amazon S3 bucket.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi