Configuration

class Configuration : KotlinCustomResource

Provides an MQ Configuration Resource. For more information on Amazon MQ, see Amazon MQ documentation.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mq.Configuration;
import com.pulumi.aws.mq.ConfigurationArgs;
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) {
var example = new Configuration("example", ConfigurationArgs.builder()
.data("""
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<broker xmlns="http://activemq.apache.org/schema/core">
<plugins>
<forcePersistencyModeBrokerPlugin persistenceFlag="true"/>
<statisticsBrokerPlugin/>
<timeStampingBrokerPlugin ttlCeiling="86400000" zeroExpirationOverride="86400000"/>
</plugins>
</broker>
""")
.description("Example Configuration")
.engineType("ActiveMQ")
.engineVersion("5.15.0")
.build());
}
}

Import

MQ Configurations can be imported using the configuration ID, e.g.,

$ pulumi import aws:mq/configuration:Configuration example c-0187d1eb-88c8-475a-9b79-16ef5a10c94f

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the configuration.

Link copied to clipboard

Authentication strategy associated with the configuration. Valid values are simple and ldap. ldap is not supported for engine_type RabbitMQ.

Link copied to clipboard
val data: Output<String>

Broker configuration in XML format. See official docs for supported parameters and format of the XML.

Link copied to clipboard
val description: Output<String>?

Description of the configuration.

Link copied to clipboard
val engineType: Output<String>

Type of broker engine. Valid values are ActiveMQ and RabbitMQ.

Link copied to clipboard
val engineVersion: Output<String>

Version of the broker engine.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val latestRevision: Output<Int>

Latest revision of the configuration.

Link copied to clipboard
val name: Output<String>

Name of the configuration. The following arguments are optional:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>