1. Packages
  2. AWS
  3. API Docs
  4. mq
  5. getBrokerEngineTypes
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.mq.getBrokerEngineTypes

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Retrieve information about available broker engines.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.mq.getBrokerEngineTypes({
        engineType: "ACTIVEMQ",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mq.get_broker_engine_types(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.GetBrokerEngineTypes(ctx, &mq.GetBrokerEngineTypesArgs{
    			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 example = Aws.Mq.GetBrokerEngineTypes.Invoke(new()
        {
            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.GetBrokerEngineTypesArgs;
    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 example = MqFunctions.getBrokerEngineTypes(GetBrokerEngineTypesArgs.builder()
                .engineType("ACTIVEMQ")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: aws:mq:getBrokerEngineTypes
          Arguments:
            engineType: ACTIVEMQ
    

    Using getBrokerEngineTypes

    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 getBrokerEngineTypes(args: GetBrokerEngineTypesArgs, opts?: InvokeOptions): Promise<GetBrokerEngineTypesResult>
    function getBrokerEngineTypesOutput(args: GetBrokerEngineTypesOutputArgs, opts?: InvokeOptions): Output<GetBrokerEngineTypesResult>
    def get_broker_engine_types(engine_type: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetBrokerEngineTypesResult
    def get_broker_engine_types_output(engine_type: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetBrokerEngineTypesResult]
    func GetBrokerEngineTypes(ctx *Context, args *GetBrokerEngineTypesArgs, opts ...InvokeOption) (*GetBrokerEngineTypesResult, error)
    func GetBrokerEngineTypesOutput(ctx *Context, args *GetBrokerEngineTypesOutputArgs, opts ...InvokeOption) GetBrokerEngineTypesResultOutput

    > Note: This function is named GetBrokerEngineTypes in the Go SDK.

    public static class GetBrokerEngineTypes 
    {
        public static Task<GetBrokerEngineTypesResult> InvokeAsync(GetBrokerEngineTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetBrokerEngineTypesResult> Invoke(GetBrokerEngineTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBrokerEngineTypesResult> getBrokerEngineTypes(GetBrokerEngineTypesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:mq/getBrokerEngineTypes:getBrokerEngineTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EngineType string
    The MQ engine type to return version details for.
    EngineType string
    The MQ engine type to return version details for.
    engineType String
    The MQ engine type to return version details for.
    engineType string
    The MQ engine type to return version details for.
    engine_type str
    The MQ engine type to return version details for.
    engineType String
    The MQ engine type to return version details for.

    getBrokerEngineTypes Result

    The following output properties are available:

    BrokerEngineTypes List<GetBrokerEngineTypesBrokerEngineType>
    A list of available engine types and versions. See Engine Types.
    Id string
    The provider-assigned unique ID for this managed resource.
    EngineType string
    The broker's engine type.
    BrokerEngineTypes []GetBrokerEngineTypesBrokerEngineType
    A list of available engine types and versions. See Engine Types.
    Id string
    The provider-assigned unique ID for this managed resource.
    EngineType string
    The broker's engine type.
    brokerEngineTypes List<GetBrokerEngineTypesBrokerEngineType>
    A list of available engine types and versions. See Engine Types.
    id String
    The provider-assigned unique ID for this managed resource.
    engineType String
    The broker's engine type.
    brokerEngineTypes GetBrokerEngineTypesBrokerEngineType[]
    A list of available engine types and versions. See Engine Types.
    id string
    The provider-assigned unique ID for this managed resource.
    engineType string
    The broker's engine type.
    broker_engine_types Sequence[GetBrokerEngineTypesBrokerEngineType]
    A list of available engine types and versions. See Engine Types.
    id str
    The provider-assigned unique ID for this managed resource.
    engine_type str
    The broker's engine type.
    brokerEngineTypes List<Property Map>
    A list of available engine types and versions. See Engine Types.
    id String
    The provider-assigned unique ID for this managed resource.
    engineType String
    The broker's engine type.

    Supporting Types

    GetBrokerEngineTypesBrokerEngineType

    EngineType string
    The MQ engine type to return version details for.
    EngineVersions List<GetBrokerEngineTypesBrokerEngineTypeEngineVersion>
    The list of engine versions.
    EngineType string
    The MQ engine type to return version details for.
    EngineVersions []GetBrokerEngineTypesBrokerEngineTypeEngineVersion
    The list of engine versions.
    engineType String
    The MQ engine type to return version details for.
    engineVersions List<GetBrokerEngineTypesBrokerEngineTypeEngineVersion>
    The list of engine versions.
    engineType string
    The MQ engine type to return version details for.
    engineVersions GetBrokerEngineTypesBrokerEngineTypeEngineVersion[]
    The list of engine versions.
    engine_type str
    The MQ engine type to return version details for.
    engine_versions Sequence[GetBrokerEngineTypesBrokerEngineTypeEngineVersion]
    The list of engine versions.
    engineType String
    The MQ engine type to return version details for.
    engineVersions List<Property Map>
    The list of engine versions.

    GetBrokerEngineTypesBrokerEngineTypeEngineVersion

    Name string
    Name string
    name String
    name string
    name str
    name String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi