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

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.

    Using getThesaurus

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getThesaurus(args: GetThesaurusArgs, opts?: InvokeOptions): Promise<GetThesaurusResult>
    function getThesaurusOutput(args: GetThesaurusOutputArgs, opts?: InvokeOutputOptions): Output<GetThesaurusResult>
    def get_thesaurus(arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetThesaurusResult
    def get_thesaurus_output(arn: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetThesaurusResult]
    func LookupThesaurus(ctx *Context, args *LookupThesaurusArgs, opts ...InvokeOption) (*LookupThesaurusResult, error)
    func LookupThesaurusOutput(ctx *Context, args *LookupThesaurusOutputArgs, opts ...InvokeOption) LookupThesaurusResultOutput

    > Note: This function is named LookupThesaurus in the Go SDK.

    public static class GetThesaurus 
    {
        public static Task<GetThesaurusResult> InvokeAsync(GetThesaurusArgs args, InvokeOptions? opts = null)
        public static Output<GetThesaurusResult> Invoke(GetThesaurusInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetThesaurusResult> Invoke(GetThesaurusInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetThesaurusResult> getThesaurus(GetThesaurusArgs args, InvokeOptions options)
    public static Output<GetThesaurusResult> getThesaurus(GetThesaurusArgs args, InvokeOptions options)
    public static Output<GetThesaurusResult> getThesaurus(GetThesaurusArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:kendra:getThesaurus
      arguments:
        # arguments dictionary
    data "aws-native_kendra_get_thesaurus" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    Arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    arn String
    The Amazon Resource Name (ARN) of the thesaurus.
    arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    arn str
    The Amazon Resource Name (ARN) of the thesaurus.
    arn String
    The Amazon Resource Name (ARN) of the thesaurus.

    getThesaurus Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    Description string
    A description for the thesaurus.
    Id string
    The identifier of the thesaurus.
    Name string
    A name 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.Outputs.ThesaurusS3Path
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of key-value pairs that identify or categorize the thesaurus.
    Arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    Description string
    A description for the thesaurus.
    Id string
    The identifier of the thesaurus.
    Name string
    A name for the thesaurus.
    RoleArn string
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    SourceS3Path ThesaurusS3Path
    Tags Tag
    A list of key-value pairs that identify or categorize the thesaurus.
    arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    description string
    A description for the thesaurus.
    id string
    The identifier of the thesaurus.
    name string
    A name 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
    tags list(object)
    A list of key-value pairs that identify or categorize the thesaurus.
    arn String
    The Amazon Resource Name (ARN) of the thesaurus.
    description String
    A description for the thesaurus.
    id String
    The identifier of the thesaurus.
    name String
    A name for the thesaurus.
    roleArn String
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    sourceS3Path ThesaurusS3Path
    tags List<Tag>
    A list of key-value pairs that identify or categorize the thesaurus.
    arn string
    The Amazon Resource Name (ARN) of the thesaurus.
    description string
    A description for the thesaurus.
    id string
    The identifier of the thesaurus.
    name string
    A name for the thesaurus.
    roleArn string
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    sourceS3Path ThesaurusS3Path
    tags Tag[]
    A list of key-value pairs that identify or categorize the thesaurus.
    arn str
    The Amazon Resource Name (ARN) of the thesaurus.
    description str
    A description for the thesaurus.
    id str
    The identifier of the thesaurus.
    name str
    A name 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 ThesaurusS3Path
    tags Sequence[root_Tag]
    A list of key-value pairs that identify or categorize the thesaurus.
    arn String
    The Amazon Resource Name (ARN) of the thesaurus.
    description String
    A description for the thesaurus.
    id String
    The identifier of the thesaurus.
    name String
    A name for the thesaurus.
    roleArn String
    An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.
    sourceS3Path Property Map
    tags List<Property Map>
    A list of key-value pairs that identify or categorize the thesaurus.

    Supporting Types

    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 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

    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