UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

58 lines 1.94 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getThesaurusOutput = exports.getThesaurus = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides details about a specific Amazon Kendra Thesaurus. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.kendra.getThesaurus({ * indexId: "12345678-1234-1234-1234-123456789123", * thesaurusId: "87654321-1234-4321-4321-321987654321", * }); * ``` */ function getThesaurus(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:kendra/getThesaurus:getThesaurus", { "indexId": args.indexId, "region": args.region, "tags": args.tags, "thesaurusId": args.thesaurusId, }, opts); } exports.getThesaurus = getThesaurus; /** * Provides details about a specific Amazon Kendra Thesaurus. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.kendra.getThesaurus({ * indexId: "12345678-1234-1234-1234-123456789123", * thesaurusId: "87654321-1234-4321-4321-321987654321", * }); * ``` */ function getThesaurusOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:kendra/getThesaurus:getThesaurus", { "indexId": args.indexId, "region": args.region, "tags": args.tags, "thesaurusId": args.thesaurusId, }, opts); } exports.getThesaurusOutput = getThesaurusOutput; //# sourceMappingURL=getThesaurus.js.map