AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi
aws.mq.getInstanceTypeOfferings
Explore with Pulumi AI
Provides information about a MQ Broker Instance Offerings.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const empty = aws.mq.getInstanceTypeOfferings({});
const engine = aws.mq.getInstanceTypeOfferings({
    engineType: "ACTIVEMQ",
});
const storage = aws.mq.getInstanceTypeOfferings({
    storageType: "EBS",
});
const instance = aws.mq.getInstanceTypeOfferings({
    hostInstanceType: "mq.m5.large",
});
const all = aws.mq.getInstanceTypeOfferings({
    hostInstanceType: "mq.m5.large",
    storageType: "EBS",
    engineType: "ACTIVEMQ",
});
import pulumi
import pulumi_aws as aws
empty = aws.mq.get_instance_type_offerings()
engine = aws.mq.get_instance_type_offerings(engine_type="ACTIVEMQ")
storage = aws.mq.get_instance_type_offerings(storage_type="EBS")
instance = aws.mq.get_instance_type_offerings(host_instance_type="mq.m5.large")
all = aws.mq.get_instance_type_offerings(host_instance_type="mq.m5.large",
    storage_type="EBS",
    engine_type="ACTIVEMQ")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mq"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mq.GetInstanceTypeOfferings(ctx, &mq.GetInstanceTypeOfferingsArgs{}, nil)
		if err != nil {
			return err
		}
		_, err = mq.GetInstanceTypeOfferings(ctx, &mq.GetInstanceTypeOfferingsArgs{
			EngineType: pulumi.StringRef("ACTIVEMQ"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = mq.GetInstanceTypeOfferings(ctx, &mq.GetInstanceTypeOfferingsArgs{
			StorageType: pulumi.StringRef("EBS"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = mq.GetInstanceTypeOfferings(ctx, &mq.GetInstanceTypeOfferingsArgs{
			HostInstanceType: pulumi.StringRef("mq.m5.large"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = mq.GetInstanceTypeOfferings(ctx, &mq.GetInstanceTypeOfferingsArgs{
			HostInstanceType: pulumi.StringRef("mq.m5.large"),
			StorageType:      pulumi.StringRef("EBS"),
			EngineType:       pulumi.StringRef("ACTIVEMQ"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var empty = Aws.Mq.GetInstanceTypeOfferings.Invoke();
    var engine = Aws.Mq.GetInstanceTypeOfferings.Invoke(new()
    {
        EngineType = "ACTIVEMQ",
    });
    var storage = Aws.Mq.GetInstanceTypeOfferings.Invoke(new()
    {
        StorageType = "EBS",
    });
    var instance = Aws.Mq.GetInstanceTypeOfferings.Invoke(new()
    {
        HostInstanceType = "mq.m5.large",
    });
    var all = Aws.Mq.GetInstanceTypeOfferings.Invoke(new()
    {
        HostInstanceType = "mq.m5.large",
        StorageType = "EBS",
        EngineType = "ACTIVEMQ",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mq.MqFunctions;
import com.pulumi.aws.mq.inputs.GetInstanceTypeOfferingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var empty = MqFunctions.getInstanceTypeOfferings();
        final var engine = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
            .engineType("ACTIVEMQ")
            .build());
        final var storage = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
            .storageType("EBS")
            .build());
        final var instance = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
            .hostInstanceType("mq.m5.large")
            .build());
        final var all = MqFunctions.getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs.builder()
            .hostInstanceType("mq.m5.large")
            .storageType("EBS")
            .engineType("ACTIVEMQ")
            .build());
    }
}
variables:
  empty:
    fn::invoke:
      function: aws:mq:getInstanceTypeOfferings
      arguments: {}
  engine:
    fn::invoke:
      function: aws:mq:getInstanceTypeOfferings
      arguments:
        engineType: ACTIVEMQ
  storage:
    fn::invoke:
      function: aws:mq:getInstanceTypeOfferings
      arguments:
        storageType: EBS
  instance:
    fn::invoke:
      function: aws:mq:getInstanceTypeOfferings
      arguments:
        hostInstanceType: mq.m5.large
  all:
    fn::invoke:
      function: aws:mq:getInstanceTypeOfferings
      arguments:
        hostInstanceType: mq.m5.large
        storageType: EBS
        engineType: ACTIVEMQ
Using getInstanceTypeOfferings
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceTypeOfferings(args: GetInstanceTypeOfferingsArgs, opts?: InvokeOptions): Promise<GetInstanceTypeOfferingsResult>
function getInstanceTypeOfferingsOutput(args: GetInstanceTypeOfferingsOutputArgs, opts?: InvokeOptions): Output<GetInstanceTypeOfferingsResult>def get_instance_type_offerings(engine_type: Optional[str] = None,
                                host_instance_type: Optional[str] = None,
                                storage_type: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetInstanceTypeOfferingsResult
def get_instance_type_offerings_output(engine_type: Optional[pulumi.Input[str]] = None,
                                host_instance_type: Optional[pulumi.Input[str]] = None,
                                storage_type: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetInstanceTypeOfferingsResult]func GetInstanceTypeOfferings(ctx *Context, args *GetInstanceTypeOfferingsArgs, opts ...InvokeOption) (*GetInstanceTypeOfferingsResult, error)
func GetInstanceTypeOfferingsOutput(ctx *Context, args *GetInstanceTypeOfferingsOutputArgs, opts ...InvokeOption) GetInstanceTypeOfferingsResultOutput> Note: This function is named GetInstanceTypeOfferings in the Go SDK.
public static class GetInstanceTypeOfferings 
{
    public static Task<GetInstanceTypeOfferingsResult> InvokeAsync(GetInstanceTypeOfferingsArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceTypeOfferingsResult> Invoke(GetInstanceTypeOfferingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceTypeOfferingsResult> getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs args, InvokeOptions options)
public static Output<GetInstanceTypeOfferingsResult> getInstanceTypeOfferings(GetInstanceTypeOfferingsArgs args, InvokeOptions options)
fn::invoke:
  function: aws:mq/getInstanceTypeOfferings:getInstanceTypeOfferings
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EngineType string
- Filter response by engine type.
- HostInstance stringType 
- Filter response by host instance type.
- StorageType string
- Filter response by storage type.
- EngineType string
- Filter response by engine type.
- HostInstance stringType 
- Filter response by host instance type.
- StorageType string
- Filter response by storage type.
- engineType String
- Filter response by engine type.
- hostInstance StringType 
- Filter response by host instance type.
- storageType String
- Filter response by storage type.
- engineType string
- Filter response by engine type.
- hostInstance stringType 
- Filter response by host instance type.
- storageType string
- Filter response by storage type.
- engine_type str
- Filter response by engine type.
- host_instance_ strtype 
- Filter response by host instance type.
- storage_type str
- Filter response by storage type.
- engineType String
- Filter response by engine type.
- hostInstance StringType 
- Filter response by host instance type.
- storageType String
- Filter response by storage type.
getInstanceTypeOfferings Result
The following output properties are available:
- BrokerInstance List<GetOptions Instance Type Offerings Broker Instance Option> 
- Option for host instance type. See Broker Instance Options below.
- Id string
- The provider-assigned unique ID for this managed resource.
- EngineType string
- Broker's engine type.
- HostInstance stringType 
- Broker's instance type.
- StorageType string
- Broker's storage type.
- BrokerInstance []GetOptions Instance Type Offerings Broker Instance Option 
- Option for host instance type. See Broker Instance Options below.
- Id string
- The provider-assigned unique ID for this managed resource.
- EngineType string
- Broker's engine type.
- HostInstance stringType 
- Broker's instance type.
- StorageType string
- Broker's storage type.
- brokerInstance List<GetOptions Instance Type Offerings Broker Instance Option> 
- Option for host instance type. See Broker Instance Options below.
- id String
- The provider-assigned unique ID for this managed resource.
- engineType String
- Broker's engine type.
- hostInstance StringType 
- Broker's instance type.
- storageType String
- Broker's storage type.
- brokerInstance GetOptions Instance Type Offerings Broker Instance Option[] 
- Option for host instance type. See Broker Instance Options below.
- id string
- The provider-assigned unique ID for this managed resource.
- engineType string
- Broker's engine type.
- hostInstance stringType 
- Broker's instance type.
- storageType string
- Broker's storage type.
- broker_instance_ Sequence[Getoptions Instance Type Offerings Broker Instance Option] 
- Option for host instance type. See Broker Instance Options below.
- id str
- The provider-assigned unique ID for this managed resource.
- engine_type str
- Broker's engine type.
- host_instance_ strtype 
- Broker's instance type.
- storage_type str
- Broker's storage type.
- brokerInstance List<Property Map>Options 
- Option for host instance type. See Broker Instance Options below.
- id String
- The provider-assigned unique ID for this managed resource.
- engineType String
- Broker's engine type.
- hostInstance StringType 
- Broker's instance type.
- storageType String
- Broker's storage type.
Supporting Types
GetInstanceTypeOfferingsBrokerInstanceOption      
- AvailabilityZones List<GetInstance Type Offerings Broker Instance Option Availability Zone> 
- List of available AZs. See Availability Zones. below
- EngineType string
- Filter response by engine type.
- HostInstance stringType 
- Filter response by host instance type.
- StorageType string
- Filter response by storage type.
- SupportedDeployment List<string>Modes 
- The list of supported deployment modes.
- SupportedEngine List<string>Versions 
- The list of supported engine versions.
- AvailabilityZones []GetInstance Type Offerings Broker Instance Option Availability Zone 
- List of available AZs. See Availability Zones. below
- EngineType string
- Filter response by engine type.
- HostInstance stringType 
- Filter response by host instance type.
- StorageType string
- Filter response by storage type.
- SupportedDeployment []stringModes 
- The list of supported deployment modes.
- SupportedEngine []stringVersions 
- The list of supported engine versions.
- availabilityZones List<GetInstance Type Offerings Broker Instance Option Availability Zone> 
- List of available AZs. See Availability Zones. below
- engineType String
- Filter response by engine type.
- hostInstance StringType 
- Filter response by host instance type.
- storageType String
- Filter response by storage type.
- supportedDeployment List<String>Modes 
- The list of supported deployment modes.
- supportedEngine List<String>Versions 
- The list of supported engine versions.
- availabilityZones GetInstance Type Offerings Broker Instance Option Availability Zone[] 
- List of available AZs. See Availability Zones. below
- engineType string
- Filter response by engine type.
- hostInstance stringType 
- Filter response by host instance type.
- storageType string
- Filter response by storage type.
- supportedDeployment string[]Modes 
- The list of supported deployment modes.
- supportedEngine string[]Versions 
- The list of supported engine versions.
- availability_zones Sequence[GetInstance Type Offerings Broker Instance Option Availability Zone] 
- List of available AZs. See Availability Zones. below
- engine_type str
- Filter response by engine type.
- host_instance_ strtype 
- Filter response by host instance type.
- storage_type str
- Filter response by storage type.
- supported_deployment_ Sequence[str]modes 
- The list of supported deployment modes.
- supported_engine_ Sequence[str]versions 
- The list of supported engine versions.
- availabilityZones List<Property Map>
- List of available AZs. See Availability Zones. below
- engineType String
- Filter response by engine type.
- hostInstance StringType 
- Filter response by host instance type.
- storageType String
- Filter response by storage type.
- supportedDeployment List<String>Modes 
- The list of supported deployment modes.
- supportedEngine List<String>Versions 
- The list of supported engine versions.
GetInstanceTypeOfferingsBrokerInstanceOptionAvailabilityZone        
- Name string
- Name of the Availability Zone.
- Name string
- Name of the Availability Zone.
- name String
- Name of the Availability Zone.
- name string
- Name of the Availability Zone.
- name str
- Name of the Availability Zone.
- name String
- Name of the Availability Zone.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.