We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::AmazonMQ::Configuration
Example Usage
Example
using System;
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var configuration = new AwsNative.AmazonMq.Configuration("configuration", new()
{
Data = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(@"<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?>
<broker xmlns=""http://activemq.apache.org/schema/core"" start=""false"">
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic="">"">
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit=""3000""/>
</pendingMessageLimitStrategy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
<plugins>
</plugins>
</broker>
")),
EngineType = "ACTIVEMQ",
EngineVersion = "5.15.0",
Name = "my-configuration-1",
});
});
package main
import (
"encoding/base64"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/amazonmq"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := amazonmq.NewConfiguration(ctx, "configuration", &amazonmq.ConfigurationArgs{
Data: base64.StdEncoding.EncodeToString([]byte(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<broker xmlns="http://activemq.apache.org/schema/core" start="false">
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic=">">
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit="3000"/>
</pendingMessageLimitStrategy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
<plugins>
</plugins>
</broker>
`)),
EngineType: pulumi.String("ACTIVEMQ"),
EngineVersion: pulumi.String("5.15.0"),
Name: pulumi.String("my-configuration-1"),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const configuration = new aws_native.amazonmq.Configuration("configuration", {
data: Buffer.from(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<broker xmlns="http://activemq.apache.org/schema/core" start="false">
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic=">">
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit="3000"/>
</pendingMessageLimitStrategy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
<plugins>
</plugins>
</broker>
`).toString("base64"),
engineType: "ACTIVEMQ",
engineVersion: "5.15.0",
name: "my-configuration-1",
});
import pulumi
import base64
import pulumi_aws_native as aws_native
configuration = aws_native.amazonmq.Configuration("configuration",
data=base64.b64encode("""<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<broker xmlns="http://activemq.apache.org/schema/core" start="false">
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic=">">
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit="3000"/>
</pendingMessageLimitStrategy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
<plugins>
</plugins>
</broker>
""".encode()).decode(),
engine_type="ACTIVEMQ",
engine_version="5.15.0",
name="my-configuration-1")
Example coming soon!
Create Configuration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Configuration(name: string, args: ConfigurationArgs, opts?: CustomResourceOptions);@overload
def Configuration(resource_name: str,
args: ConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Configuration(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_type: Optional[str] = None,
authentication_strategy: Optional[str] = None,
data: Optional[str] = None,
description: Optional[str] = None,
engine_version: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewConfiguration(ctx *Context, name string, args ConfigurationArgs, opts ...ResourceOption) (*Configuration, error)public Configuration(string name, ConfigurationArgs args, CustomResourceOptions? opts = null)
public Configuration(String name, ConfigurationArgs args)
public Configuration(String name, ConfigurationArgs args, CustomResourceOptions options)
type: aws-native:amazonmq:Configuration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_amazonmq_configuration" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Configuration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Configuration resource accepts the following input properties:
- Engine
Type string - The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
- Authentication
Strategy string - The authentication strategy associated with the configuration. The default is SIMPLE.
- Data string
- The base64-encoded XML configuration.
- Description string
- The description of the configuration.
- Engine
Version string - The version of the broker engine.
- Name string
- The name of the configuration.
-
List<Pulumi.
Aws Native. Inputs. Tag> - Create tags when creating the configuration.
- Engine
Type string - The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
- Authentication
Strategy string - The authentication strategy associated with the configuration. The default is SIMPLE.
- Data string
- The base64-encoded XML configuration.
- Description string
- The description of the configuration.
- Engine
Version string - The version of the broker engine.
- Name string
- The name of the configuration.
-
Tag
Args - Create tags when creating the configuration.
- engine_
type string - The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
- authentication_
strategy string - The authentication strategy associated with the configuration. The default is SIMPLE.
- data string
- The base64-encoded XML configuration.
- description string
- The description of the configuration.
- engine_
version string - The version of the broker engine.
- name string
- The name of the configuration.
- list(object)
- Create tags when creating the configuration.
- engine
Type String - The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
- authentication
Strategy String - The authentication strategy associated with the configuration. The default is SIMPLE.
- data String
- The base64-encoded XML configuration.
- description String
- The description of the configuration.
- engine
Version String - The version of the broker engine.
- name String
- The name of the configuration.
- List<Tag>
- Create tags when creating the configuration.
- engine
Type string - The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
- authentication
Strategy string - The authentication strategy associated with the configuration. The default is SIMPLE.
- data string
- The base64-encoded XML configuration.
- description string
- The description of the configuration.
- engine
Version string - The version of the broker engine.
- name string
- The name of the configuration.
- Tag[]
- Create tags when creating the configuration.
- engine_
type str - The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
- authentication_
strategy str - The authentication strategy associated with the configuration. The default is SIMPLE.
- data str
- The base64-encoded XML configuration.
- description str
- The description of the configuration.
- engine_
version str - The version of the broker engine.
- name str
- The name of the configuration.
-
Sequence[Tag
Args] - Create tags when creating the configuration.
- engine
Type String - The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
- authentication
Strategy String - The authentication strategy associated with the configuration. The default is SIMPLE.
- data String
- The base64-encoded XML configuration.
- description String
- The description of the configuration.
- engine
Version String - The version of the broker engine.
- name String
- The name of the configuration.
- List<Property Map>
- Create tags when creating the configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the Configuration resource produces the following output properties:
Look up Existing Configuration Resource
Get an existing Configuration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Configuration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Configurationfunc GetConfiguration(ctx *Context, name string, id IDInput, state *ConfigurationState, opts ...ResourceOption) (*Configuration, error)public static Configuration Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Configuration get(String name, Output<String> id, CustomResourceOptions options)resources: existingConfiguration: type: aws-native:amazonmq:Configuration get: id: ${id}import {
to = aws-native_amazonmq_configuration.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ConfigurationState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi