1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. kendra
  6. Thesaurus

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
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:

    IndexId string
    The identifier of the index for the thesaurus.
    RoleArn string
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    SourceS3Path Pulumi.AwsNative.Kendra.Inputs.ThesaurusS3Path
    Description string
    A description for the thesaurus.
    Name string
    A name for the thesaurus.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    A list of key-value pairs that identify or categorize the thesaurus.
    IndexId string
    The identifier of the index for the thesaurus.
    RoleArn string
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    SourceS3Path ThesaurusS3PathArgs
    Description string
    A description for the thesaurus.
    Name string
    A name for the thesaurus.
    Tags TagArgs
    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_path object
    description string
    A description for the thesaurus.
    name string
    A name for the thesaurus.
    tags list(object)
    A list of key-value pairs that identify or categorize the thesaurus.
    indexId String
    The identifier of the index for the thesaurus.
    roleArn String
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    sourceS3Path ThesaurusS3Path
    description String
    A description for the thesaurus.
    name String
    A name for the thesaurus.
    tags List<Tag>
    A list of key-value pairs that identify or categorize the thesaurus.
    indexId string
    The identifier of the index for the thesaurus.
    roleArn string
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    sourceS3Path ThesaurusS3Path
    description string
    A description for the thesaurus.
    name string
    A name for the thesaurus.
    tags 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_path ThesaurusS3PathArgs
    description str
    A description for the thesaurus.
    name str
    A name for the thesaurus.
    tags Sequence[TagArgs]
    A list of key-value pairs that identify or categorize the thesaurus.
    indexId String
    The identifier of the index for the thesaurus.
    roleArn String
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    sourceS3Path Property Map
    description String
    A description for the thesaurus.
    name String
    A name for the thesaurus.
    tags 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:

    Arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    AwsId string
    The identifier of the thesaurus.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    AwsId string
    The identifier of the thesaurus.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    aws_id string
    The identifier of the thesaurus.
    id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) of the thesaurus.
    awsId String
    The identifier of the thesaurus.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    awsId string
    The identifier of the thesaurus.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The Amazon Resource Name (ARN) of the thesaurus.
    aws_id str
    The identifier of the thesaurus.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) of the thesaurus.
    awsId String
    The identifier of the thesaurus.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    ThesaurusS3Path, ThesaurusS3PathArgs

    Information required to find a specific file in an Amazon S3 bucket.
    Bucket string
    The name of the S3 bucket that contains the file.
    Key string
    The name of the file.
    Bucket string
    The name of the S3 bucket that contains the file.
    Key string
    The name of the file.
    bucket string
    The name of the S3 bucket that contains the file.
    key string
    The name of the file.
    bucket String
    The name of the S3 bucket that contains the file.
    key String
    The name of the file.
    bucket string
    The name of the S3 bucket that contains the file.
    key string
    The name of the file.
    bucket str
    The name of the S3 bucket that contains the file.
    key str
    The name of the file.
    bucket String
    The name of the S3 bucket that contains the file.
    key String
    The name of the file.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.76.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial