---
title: MQ Broker
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > MQ Broker
---

# MQ Broker

MQ Broker in AWS is a managed message broker service based on Apache ActiveMQ and RabbitMQ. It allows applications, microservices, and distributed systems to communicate by sending and receiving messages through queues and topics. AWS handles the setup, scaling, patching, and high availability of the broker, reducing operational overhead. It supports standard messaging protocols, making it easier to integrate with existing applications. This service is commonly used for decoupling application components, improving reliability, and enabling asynchronous communication in cloud architectures.

```
aws.mq_broker
```

## Fields

| Title                             | ID   | Type          | Data Type                                                                                                                                                                                                                                                             | Description |
| --------------------------------- | ---- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                              | core | string        |
| account_id                        | core | string        |
| actions_required                  | core | json          | Actions required for a broker.                                                                                                                                                                                                                                        |
| authentication_strategy           | core | string        | The authentication strategy used to secure the broker. The default is SIMPLE.                                                                                                                                                                                         |
| auto_minor_version_upgrade        | core | bool          | Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.                                               |
| broker_arn                        | core | string        | The broker's Amazon Resource Name (ARN).                                                                                                                                                                                                                              |
| broker_id                         | core | string        | The unique ID that Amazon MQ generates for the broker.                                                                                                                                                                                                                |
| broker_instances                  | core | json          | A list of information about allocated brokers.                                                                                                                                                                                                                        |
| broker_name                       | core | string        | The broker's name. This value must be unique in your Amazon Web Services account account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters. |
| broker_state                      | core | string        | The broker's status.                                                                                                                                                                                                                                                  |
| configurations                    | core | json          | The list of all revisions for the specified configuration.                                                                                                                                                                                                            |
| created                           | core | timestamp     | The time when the broker was created.                                                                                                                                                                                                                                 |
| data_replication_metadata         | core | json          | The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.                                                                                                                                                  |
| data_replication_mode             | core | string        | Describes whether this broker is a part of a data replication pair.                                                                                                                                                                                                   |
| deployment_mode                   | core | string        | The broker's deployment mode.                                                                                                                                                                                                                                         |
| encryption_options                | core | json          | Encryption options for the broker.                                                                                                                                                                                                                                    |
| engine_type                       | core | string        | The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.                                                                                                                                                                                       |
| engine_version                    | core | string        | The broker engine version. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.                                                                                                   |
| host_instance_type                | core | string        | The broker's instance type.                                                                                                                                                                                                                                           |
| ldap_server_metadata              | core | json          | The metadata of the LDAP server used to authenticate and authorize connections to the broker.                                                                                                                                                                         |
| logs                              | core | json          | The list of information about logs currently enabled and pending to be deployed for the specified broker.                                                                                                                                                             |
| maintenance_window_start_time     | core | json          | The parameters that determine the WeeklyStartTime.                                                                                                                                                                                                                    |
| pending_authentication_strategy   | core | string        | The authentication strategy that will be applied when the broker is rebooted. The default is SIMPLE.                                                                                                                                                                  |
| pending_data_replication_metadata | core | json          | The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.                                                                                                                                   |
| pending_data_replication_mode     | core | string        | Describes whether this broker will be a part of a data replication pair after reboot.                                                                                                                                                                                 |
| pending_engine_version            | core | string        | The broker engine version to upgrade to. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.                                                                                     |
| pending_host_instance_type        | core | string        | The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.                                                                                                                                                     |
| pending_ldap_server_metadata      | core | json          | The metadata of the LDAP server that will be used to authenticate and authorize connections to the broker after it is rebooted.                                                                                                                                       |
| pending_security_groups           | core | array<string> | The list of pending security groups to authorize connections to brokers.                                                                                                                                                                                              |
| publicly_accessible               | core | bool          | Enables connections from applications outside of the VPC that hosts the broker's subnets.                                                                                                                                                                             |
| security_groups                   | core | array<string> | The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.                                                                                                                                                                                     |
| storage_type                      | core | string        | The broker's storage type.                                                                                                                                                                                                                                            |
| subnet_ids                        | core | array<string> | The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.                                                                                                                                                      |
| tags                              | core | hstore_csv    |
