import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Use the `aws.kendra.QuerySuggestionsBlockList` resource to manage an AWS Kendra block list used for query suggestions for an index. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.kendra.QuerySuggestionsBlockList("example", { * sourceS3Path: { * bucket: exampleAwsS3Bucket.id, * key: "example/suggestions.txt", * }, * indexId: exampleAwsKendraIndex.id, * name: "Example", * roleArn: exampleAwsIamRole.arn, * tags: { * Name: "Example Kendra Index", * }, * }); * ``` * * ## Import * * Using `pulumi import`, import the `aws.kendra.QuerySuggestionsBlockList` resource using the unique identifiers of the block list and index separated by a slash (`/`). For example: * * ```sh * $ pulumi import aws:kendra/querySuggestionsBlockList:QuerySuggestionsBlockList example blocklist-123456780/idx-8012925589 * ``` */ export declare class QuerySuggestionsBlockList extends pulumi.CustomResource { /** * Get an existing QuerySuggestionsBlockList 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?: QuerySuggestionsBlockListState, opts?: pulumi.CustomResourceOptions): QuerySuggestionsBlockList; /** * Returns true if the given object is an instance of QuerySuggestionsBlockList. 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 QuerySuggestionsBlockList; /** * ARN of the block list. */ readonly arn: pulumi.Output; readonly description: pulumi.Output; /** * Identifier of the index for a block list. */ readonly indexId: pulumi.Output; /** * Name for the block list. */ readonly name: pulumi.Output; /** * Unique identifier of the block list. */ readonly querySuggestionsBlockListId: 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; /** * IAM (Identity and Access Management) role used to access the block list text file in S3. */ readonly roleArn: pulumi.Output; /** * S3 path where your block list text file is located. See details below. */ readonly sourceS3Path: pulumi.Output; readonly status: pulumi.Output; readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider's defaultTags configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Create a QuerySuggestionsBlockList 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: QuerySuggestionsBlockListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering QuerySuggestionsBlockList resources. */ export interface QuerySuggestionsBlockListState { /** * ARN of the block list. */ arn?: pulumi.Input; description?: pulumi.Input; /** * Identifier of the index for a block list. */ indexId?: pulumi.Input; /** * Name for the block list. */ name?: pulumi.Input; /** * Unique identifier of the block list. */ querySuggestionsBlockListId?: 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; /** * IAM (Identity and Access Management) role used to access the block list text file in S3. */ roleArn?: pulumi.Input; /** * S3 path where your block list text file is located. See details below. */ sourceS3Path?: pulumi.Input; status?: pulumi.Input; tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider's defaultTags configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a QuerySuggestionsBlockList resource. */ export interface QuerySuggestionsBlockListArgs { description?: pulumi.Input; /** * Identifier of the index for a block list. */ indexId: pulumi.Input; /** * Name for the block list. */ 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; /** * IAM (Identity and Access Management) role used to access the block list text file in S3. */ roleArn: pulumi.Input; /** * S3 path where your block list text file is located. See details below. */ sourceS3Path: pulumi.Input; tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=querySuggestionsBlockList.d.ts.map