UNPKG

@pulumi/aws

Version:

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

135 lines (134 loc) 4.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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", * }); * ``` */ export declare function getInstanceTypeOfferings(args?: GetInstanceTypeOfferingsArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceTypeOfferingsResult>; /** * A collection of arguments for invoking getInstanceTypeOfferings. */ export interface GetInstanceTypeOfferingsArgs { /** * Filter response by engine type. */ engineType?: string; /** * Filter response by host instance type. */ hostInstanceType?: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Filter response by storage type. */ storageType?: string; } /** * A collection of values returned by getInstanceTypeOfferings. */ export interface GetInstanceTypeOfferingsResult { /** * List of broker instance options. See Broker Instance Options below. */ readonly brokerInstanceOptions: outputs.mq.GetInstanceTypeOfferingsBrokerInstanceOption[]; /** * Broker's engine type. */ readonly engineType?: string; /** * Broker's instance type. */ readonly hostInstanceType?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly region: string; /** * Broker's storage type. */ readonly storageType?: string; } /** * 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", * }); * ``` */ export declare function getInstanceTypeOfferingsOutput(args?: GetInstanceTypeOfferingsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceTypeOfferingsResult>; /** * A collection of arguments for invoking getInstanceTypeOfferings. */ export interface GetInstanceTypeOfferingsOutputArgs { /** * Filter response by engine type. */ engineType?: pulumi.Input<string>; /** * Filter response by host instance type. */ hostInstanceType?: pulumi.Input<string>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; /** * Filter response by storage type. */ storageType?: pulumi.Input<string>; }