Resource: awsMqConfiguration
Provides an MQ Configuration Resource.
For more information on Amazon MQ, see Amazon MQ documentation.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.mqConfiguration.MqConfiguration(this, "example", {
  data: '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<broker xmlns="http://activemq.apache.org/schema/core">\n  <plugins>\n    <forcePersistencyModeBrokerPlugin persistenceFlag="true"/>\n    <statisticsBrokerPlugin/>\n    <timeStampingBrokerPlugin ttlCeiling="86400000" zeroExpirationOverride="86400000"/>\n  </plugins>\n</broker>\n',
  description: "Example Configuration",
  engineType: "ActiveMQ",
  engineVersion: "5.15.0",
  name: "example",
});
Argument Reference
The following arguments are required:
- data- (Required) Broker configuration in XML format. See official docs for supported parameters and format of the XML.
- engineType- (Required) Type of broker engine. Valid values are- activeMqand- rabbitMq.
- engineVersion- (Required) Version of the broker engine.
- name- (Required) Name of the configuration.
The following arguments are optional:
- authenticationStrategy- (Optional) Authentication strategy associated with the configuration. Valid values are- simpleand- ldap.- ldapis not supported for- engineType- rabbitMq.
- description- (Optional) Description of the configuration.
- tags- (Optional) Map of tags to assign to the resource. If configured with a provider- defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
- arn- ARN of the configuration.
- id- Unique ID that Amazon MQ generates for the configuration.
- latestRevision- Latest revision of the configuration.
- tagsAll- A map of tags assigned to the resource, including those inherited from the provider- defaultTagsconfiguration block.
Import
MQ Configurations can be imported using the configuration ID, e.g.,