ConfigurationArgs

data class ConfigurationArgs(val authenticationStrategy: Output<String>? = null, val data: Output<String>? = null, val description: Output<String>? = null, val engineType: Output<String>? = null, val engineVersion: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ConfigurationArgs>

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

Constructors

Link copied to clipboard
constructor(authenticationStrategy: Output<String>? = null, data: Output<String>? = null, description: Output<String>? = null, engineType: Output<String>? = null, engineVersion: Output<String>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val authenticationStrategy: Output<String>? = null

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>? = null

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

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

Description of the configuration.

Link copied to clipboard
val engineType: Output<String>? = null

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

Link copied to clipboard
val engineVersion: Output<String>? = null

Version of the broker engine.

Link copied to clipboard
val name: Output<String>? = null

Name of the configuration. The following arguments are optional:

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): ConfigurationArgs