UNPKG

@pulumi/aws

Version:

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

54 lines 1.71 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.getPlaceIndexOutput = exports.getPlaceIndex = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieve information about a Location Service Place Index. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.location.getPlaceIndex({ * indexName: "example", * }); * ``` */ function getPlaceIndex(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:location/getPlaceIndex:getPlaceIndex", { "indexName": args.indexName, "region": args.region, "tags": args.tags, }, opts); } exports.getPlaceIndex = getPlaceIndex; /** * Retrieve information about a Location Service Place Index. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.location.getPlaceIndex({ * indexName: "example", * }); * ``` */ function getPlaceIndexOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:location/getPlaceIndex:getPlaceIndex", { "indexName": args.indexName, "region": args.region, "tags": args.tags, }, opts); } exports.getPlaceIndexOutput = getPlaceIndexOutput; //# sourceMappingURL=getPlaceIndex.js.map