UNPKG

@pulumi/aws

Version:

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

36 lines 1.51 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.getBrokerOutput = exports.getBroker = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides details about an existing Amazon MQ broker. Use this data source to retrieve configuration and metadata for an Amazon MQ broker by ID or name. */ function getBroker(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:mq/getBroker:getBroker", { "brokerId": args.brokerId, "brokerName": args.brokerName, "region": args.region, "tags": args.tags, }, opts); } exports.getBroker = getBroker; /** * Provides details about an existing Amazon MQ broker. Use this data source to retrieve configuration and metadata for an Amazon MQ broker by ID or name. */ function getBrokerOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:mq/getBroker:getBroker", { "brokerId": args.brokerId, "brokerName": args.brokerName, "region": args.region, "tags": args.tags, }, opts); } exports.getBrokerOutput = getBrokerOutput; //# sourceMappingURL=getBroker.js.map