UNPKG

@pulumi/aws

Version:

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

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