UNPKG

@pulumi/aws

Version:

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

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