UNPKG

@pulumi/aws

Version:

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

92 lines 3.39 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.getInstanceTypeOfferingsOutput = exports.getInstanceTypeOfferings = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides details about available MQ broker instance type offerings. Use this data source to discover supported instance types, storage types, and deployment modes for Amazon MQ brokers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * // Get all instance type offerings * const all = aws.mq.getInstanceTypeOfferings({}); * // Filter by engine type * const activemq = aws.mq.getInstanceTypeOfferings({ * engineType: "ACTIVEMQ", * }); * // Filter by storage type * const ebs = aws.mq.getInstanceTypeOfferings({ * storageType: "EBS", * }); * // Filter by instance type * const m5 = aws.mq.getInstanceTypeOfferings({ * hostInstanceType: "mq.m5.large", * }); * // Filter by multiple criteria * const filtered = aws.mq.getInstanceTypeOfferings({ * engineType: "ACTIVEMQ", * storageType: "EBS", * hostInstanceType: "mq.m5.large", * }); * ``` */ function getInstanceTypeOfferings(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:mq/getInstanceTypeOfferings:getInstanceTypeOfferings", { "engineType": args.engineType, "hostInstanceType": args.hostInstanceType, "region": args.region, "storageType": args.storageType, }, opts); } exports.getInstanceTypeOfferings = getInstanceTypeOfferings; /** * Provides details about available MQ broker instance type offerings. Use this data source to discover supported instance types, storage types, and deployment modes for Amazon MQ brokers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * // Get all instance type offerings * const all = aws.mq.getInstanceTypeOfferings({}); * // Filter by engine type * const activemq = aws.mq.getInstanceTypeOfferings({ * engineType: "ACTIVEMQ", * }); * // Filter by storage type * const ebs = aws.mq.getInstanceTypeOfferings({ * storageType: "EBS", * }); * // Filter by instance type * const m5 = aws.mq.getInstanceTypeOfferings({ * hostInstanceType: "mq.m5.large", * }); * // Filter by multiple criteria * const filtered = aws.mq.getInstanceTypeOfferings({ * engineType: "ACTIVEMQ", * storageType: "EBS", * hostInstanceType: "mq.m5.large", * }); * ``` */ function getInstanceTypeOfferingsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:mq/getInstanceTypeOfferings:getInstanceTypeOfferings", { "engineType": args.engineType, "hostInstanceType": args.hostInstanceType, "region": args.region, "storageType": args.storageType, }, opts); } exports.getInstanceTypeOfferingsOutput = getInstanceTypeOfferingsOutput; //# sourceMappingURL=getInstanceTypeOfferings.js.map