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; /** * Check whether an existing Thesaurus resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: ThesaurusState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * 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; /** * Description for a thesaurus. */ readonly description: pulumi.Output; /** * Identifier of the index for a thesaurus. */ readonly indexId: pulumi.Output; /** * 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. */ readonly region: pulumi.Output; /** * IAM (Identity and Access Management) role used to access the thesaurus file in S3. */ readonly roleArn: pulumi.Output; /** * S3 path where your thesaurus file sits in S3. Detailed below. * * The following arguments are optional: */ readonly sourceS3Path: pulumi.Output; /** * Current status of the thesaurus. */ readonly status: pulumi.Output; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Unique identifier of the thesaurus. */ 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 for a thesaurus. */ description?: pulumi.Input; /** * Identifier of the index for a thesaurus. */ indexId?: pulumi.Input; /** * 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. */ region?: pulumi.Input; /** * IAM (Identity and Access Management) role used to access the thesaurus file in S3. */ roleArn?: pulumi.Input; /** * S3 path where your thesaurus file sits in S3. Detailed below. * * The following arguments are optional: */ sourceS3Path?: pulumi.Input; /** * Current status of the thesaurus. */ status?: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Unique identifier of the thesaurus. */ thesaurusId?: pulumi.Input; } /** * The set of arguments for constructing a Thesaurus resource. */ export interface ThesaurusArgs { /** * Description for a thesaurus. */ description?: pulumi.Input; /** * Identifier of the index for a thesaurus. */ indexId: pulumi.Input; /** * 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. */ region?: pulumi.Input; /** * IAM (Identity and Access Management) role used to access the thesaurus file in S3. */ roleArn: pulumi.Input; /** * S3 path where your thesaurus file sits in S3. Detailed below. * * The following arguments are optional: */ sourceS3Path: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=thesaurus.d.ts.map