import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing an AWS Kendra Thesaurus. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.kendra.Thesaurus("example", { * sourceS3Path: { * bucket: exampleAwsS3Bucket.id, * key: exampleAwsS3Object.key, * }, * indexId: exampleAwsKendraIndex.id, * name: "Example", * roleArn: exampleAwsIamRole.arn, * tags: { * Name: "Example Kendra Thesaurus", * }, * }); * ``` * * ## Import * * Using `pulumi import`, import `aws.kendra.Thesaurus` using the unique identifiers of the thesaurus and index separated by a slash (`/`). For example: * * ```sh * $ pulumi import aws:kendra/thesaurus:Thesaurus example thesaurus-123456780/idx-8012925589 * ``` */ export declare class Thesaurus extends pulumi.CustomResource { /** * Get an existing Thesaurus resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ThesaurusState, opts?: pulumi.CustomResourceOptions): Thesaurus; /** * Returns true if the given object is an instance of Thesaurus. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Thesaurus; /** * ARN of the thesaurus. */ readonly arn: pulumi.Output; readonly description: pulumi.Output; /** * The identifier of the index for a thesaurus. */ readonly indexId: pulumi.Output; /** * The name for the thesaurus. */ readonly name: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference). */ readonly region: pulumi.Output; /** * The IAM (Identity and Access Management) role used to access the thesaurus file in S3. */ readonly roleArn: pulumi.Output; /** * The S3 path where your thesaurus file sits in S3. Detailed below. */ readonly sourceS3Path: pulumi.Output; /** * The current status of the thesaurus. */ readonly status: pulumi.Output; readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; readonly thesaurusId: pulumi.Output; /** * Create a Thesaurus resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ThesaurusArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Thesaurus resources. */ export interface ThesaurusState { /** * ARN of the thesaurus. */ arn?: pulumi.Input; description?: pulumi.Input; /** * The identifier of the index for a thesaurus. */ indexId?: pulumi.Input; /** * The name for the thesaurus. */ name?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference). */ region?: pulumi.Input; /** * The IAM (Identity and Access Management) role used to access the thesaurus file in S3. */ roleArn?: pulumi.Input; /** * The S3 path where your thesaurus file sits in S3. Detailed below. */ sourceS3Path?: pulumi.Input; /** * The current status of the thesaurus. */ status?: pulumi.Input; tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; thesaurusId?: pulumi.Input; } /** * The set of arguments for constructing a Thesaurus resource. */ export interface ThesaurusArgs { description?: pulumi.Input; /** * The identifier of the index for a thesaurus. */ indexId: pulumi.Input; /** * The name for the thesaurus. */ name?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference). */ region?: pulumi.Input; /** * The IAM (Identity and Access Management) role used to access the thesaurus file in S3. */ roleArn: pulumi.Input; /** * The S3 path where your thesaurus file sits in S3. Detailed below. */ sourceS3Path: pulumi.Input; tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=thesaurus.d.ts.map