{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mq/json-schema/amazon-mq-describe-broker-response-schema.json",
  "title": "DescribeBrokerResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mq-brokers-api-openapi.yml#/components/schemas/DescribeBrokerResponse",
  "type": "object",
  "properties": {
    "ActionsRequired": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ActionRequired"
      },
      "description": "Actions required for a broker."
    },
    "AuthenticationStrategy": {
      "type": "string",
      "enum": [
        "SIMPLE",
        "LDAP",
        "CONFIG_MANAGED"
      ],
      "description": "The authentication strategy used to secure the broker. The default is SIMPLE."
    },
    "AutoMinorVersionUpgrade": {
      "type": "boolean",
      "description": "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."
    },
    "BrokerArn": {
      "type": "string",
      "description": "The broker's Amazon Resource Name (ARN)."
    },
    "BrokerId": {
      "type": "string",
      "description": "The unique ID that Amazon MQ generates for the broker."
    },
    "BrokerInstances": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BrokerInstance"
      },
      "description": "A list of information about allocated brokers."
    },
    "BrokerName": {
      "type": "string",
      "description": "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."
    },
    "BrokerState": {
      "type": "string",
      "enum": [
        "CREATION_IN_PROGRESS",
        "CREATION_FAILED",
        "DELETION_IN_PROGRESS",
        "RUNNING",
        "REBOOT_IN_PROGRESS",
        "CRITICAL_ACTION_REQUIRED",
        "REPLICA"
      ],
      "description": "The broker's status."
    },
    "Configurations": {
      "$ref": "#/$defs/Configurations"
    },
    "Created": {
      "type": "string",
      "format": "date-time",
      "description": "The time when the broker was created."
    },
    "DeploymentMode": {
      "type": "string",
      "enum": [
        "SINGLE_INSTANCE",
        "ACTIVE_STANDBY_MULTI_AZ",
        "CLUSTER_MULTI_AZ"
      ],
      "description": "The broker's deployment mode."
    },
    "EncryptionOptions": {
      "$ref": "#/$defs/EncryptionOptions"
    },
    "EngineType": {
      "type": "string",
      "enum": [
        "ACTIVEMQ",
        "RABBITMQ"
      ],
      "description": "The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ."
    },
    "EngineVersion": {
      "type": "string",
      "description": "The broker engine version. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide."
    },
    "HostInstanceType": {
      "type": "string",
      "description": "The broker's instance type."
    },
    "LdapServerMetadata": {
      "$ref": "#/$defs/LdapServerMetadataOutput"
    },
    "Logs": {
      "$ref": "#/$defs/LogsSummary"
    },
    "MaintenanceWindowStartTime": {
      "$ref": "#/$defs/WeeklyStartTime"
    },
    "PendingAuthenticationStrategy": {
      "type": "string",
      "enum": [
        "SIMPLE",
        "LDAP",
        "CONFIG_MANAGED"
      ],
      "description": "The authentication strategy that will be applied when the broker is rebooted. The default is SIMPLE."
    },
    "PendingEngineVersion": {
      "type": "string",
      "description": "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."
    },
    "PendingHostInstanceType": {
      "type": "string",
      "description": "The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types."
    },
    "PendingLdapServerMetadata": {
      "$ref": "#/$defs/LdapServerMetadataOutput"
    },
    "PendingSecurityGroups": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of pending security groups to authorize connections to brokers."
    },
    "PendingStorageSize": {
      "type": "integer",
      "description": "The pending storage size in GB, to be applied on the next broker restart."
    },
    "PubliclyAccessible": {
      "type": "boolean",
      "description": "Enables connections from applications outside of the VPC that hosts the broker's subnets."
    },
    "SecurityGroups": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of rules (1 minimum, 125 maximum) that authorize connections to brokers."
    },
    "StorageSize": {
      "type": "integer",
      "description": "The broker's storage size in GB."
    },
    "StorageType": {
      "type": "string",
      "enum": [
        "EBS",
        "EFS"
      ],
      "description": "The broker's storage type."
    },
    "SubnetIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The list of all tags associated with this broker."
    },
    "Users": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserSummary"
      },
      "description": "The list of all broker usernames for the specified broker."
    },
    "DataReplicationMetadata": {
      "$ref": "#/$defs/DataReplicationMetadataOutput"
    },
    "DataReplicationMode": {
      "type": "string",
      "enum": [
        "NONE",
        "CRDR"
      ],
      "description": "Describes whether this broker is a part of a data replication pair."
    },
    "PendingDataReplicationMetadata": {
      "$ref": "#/$defs/DataReplicationMetadataOutput"
    },
    "PendingDataReplicationMode": {
      "type": "string",
      "enum": [
        "NONE",
        "CRDR"
      ],
      "description": "Describes whether this broker will be a part of a data replication pair after reboot."
    }
  },
  "$defs": {
    "ActionRequired": {
      "type": "object",
      "properties": {
        "ActionRequiredCode": {
          "type": "string",
          "description": "The code you can use to find instructions on the action required to resolve your broker issue."
        },
        "ActionRequiredInfo": {
          "type": "string",
          "description": "Information about the action required to resolve your broker issue."
        }
      }
    },
    "BrokerInstance": {
      "type": "object",
      "properties": {
        "ConsoleURL": {
          "type": "string",
          "description": "The brokers web console URL."
        },
        "Endpoints": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The broker's wire-level protocol endpoints."
        },
        "IpAddress": {
          "type": "string",
          "description": "The IP address of the Elastic Network Interface (ENI) attached to the broker. Does not apply to RabbitMQ brokers."
        }
      }
    },
    "ConfigurationId": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "Required. The unique ID that Amazon MQ generates for the configuration."
        },
        "Revision": {
          "type": "integer",
          "description": "The revision number of the configuration."
        }
      },
      "required": [
        "Id"
      ]
    },
    "Configurations": {
      "type": "object",
      "properties": {
        "Current": {
          "$ref": "#/$defs/ConfigurationId"
        },
        "History": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConfigurationId"
          },
          "description": "The history of configurations applied to the broker."
        },
        "Pending": {
          "$ref": "#/$defs/ConfigurationId"
        }
      }
    },
    "DataReplicationCounterpart": {
      "type": "object",
      "properties": {
        "BrokerId": {
          "type": "string",
          "description": "Required. The unique broker id generated by Amazon MQ."
        },
        "Region": {
          "type": "string",
          "description": "Required. The region of the broker."
        }
      },
      "required": [
        "BrokerId",
        "Region"
      ]
    },
    "DataReplicationMetadataOutput": {
      "type": "object",
      "properties": {
        "DataReplicationCounterpart": {
          "$ref": "#/$defs/DataReplicationCounterpart"
        },
        "DataReplicationRole": {
          "type": "string",
          "description": "Defines the role of this broker in a data replication pair. When a replica broker is promoted to primary, this role is interchanged."
        }
      },
      "required": [
        "DataReplicationRole"
      ]
    },
    "EncryptionOptions": {
      "type": "object",
      "properties": {
        "KmsKeyId": {
          "type": "string",
          "description": "The customer master key (CMK) to use for the A KMS (KMS). This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data."
        },
        "UseAwsOwnedKey": {
          "type": "boolean",
          "description": "Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers."
        }
      },
      "required": [
        "UseAwsOwnedKey"
      ]
    },
    "LdapServerMetadataOutput": {
      "type": "object",
      "properties": {
        "Hosts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server."
        },
        "RoleBase": {
          "type": "string",
          "description": "The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ou=group, ou=corp, dc=corp, dc=example, dc=com."
        },
        "RoleName": {
          "type": "string",
          "description": "Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query."
        },
        "RoleSearchMatching": {
          "type": "string",
          "description": "The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase."
        },
        "RoleSearchSubtree": {
          "type": "boolean",
          "description": "The directory search scope for the role. If set to true, scope is to search the entire subtree."
        },
        "ServiceAccountUsername": {
          "type": "string",
          "description": "Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com."
        },
        "UserBase": {
          "type": "string",
          "description": "Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com."
        },
        "UserRoleName": {
          "type": "string",
          "description": "Specifies the name of the LDAP attribute for the user group membership."
        },
        "UserSearchMatching": {
          "type": "string",
          "description": "The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com."
        },
        "UserSearchSubtree": {
          "type": "boolean",
          "description": "The directory search scope for the user. If set to true, scope is to search the entire subtree."
        }
      },
      "required": [
        "Hosts",
        "RoleBase",
        "RoleSearchMatching",
        "ServiceAccountUsername",
        "UserBase",
        "UserSearchMatching"
      ]
    },
    "LogsSummary": {
      "type": "object",
      "properties": {
        "Audit": {
          "type": "boolean",
          "description": "Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged."
        },
        "AuditLogGroup": {
          "type": "string",
          "description": "The location of the CloudWatch Logs log group where audit logs are sent."
        },
        "General": {
          "type": "boolean",
          "description": "Enables general logging."
        },
        "GeneralLogGroup": {
          "type": "string",
          "description": "The location of the CloudWatch Logs log group where general logs are sent."
        },
        "Pending": {
          "$ref": "#/$defs/PendingLogs"
        }
      },
      "required": [
        "General",
        "GeneralLogGroup"
      ]
    },
    "PendingLogs": {
      "type": "object",
      "properties": {
        "Audit": {
          "type": "boolean",
          "description": "Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged."
        },
        "General": {
          "type": "boolean",
          "description": "Enables general logging."
        }
      }
    },
    "UserSummary": {
      "type": "object",
      "properties": {
        "PendingChange": {
          "type": "string",
          "enum": [
            "CREATE",
            "UPDATE",
            "DELETE"
          ],
          "description": "The type of change pending for the broker user."
        },
        "Username": {
          "type": "string",
          "description": "Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long."
        }
      },
      "required": [
        "Username"
      ]
    },
    "WeeklyStartTime": {
      "type": "object",
      "properties": {
        "DayOfWeek": {
          "type": "string",
          "enum": [
            "MONDAY",
            "TUESDAY",
            "WEDNESDAY",
            "THURSDAY",
            "FRIDAY",
            "SATURDAY",
            "SUNDAY"
          ],
          "description": "Required. The day of the week."
        },
        "TimeOfDay": {
          "type": "string",
          "description": "Required. The time, in 24-hour format."
        },
        "TimeZone": {
          "type": "string",
          "description": "The time zone, UTC by default, in either the Country/City format, or the UTC offset format."
        }
      },
      "required": [
        "DayOfWeek",
        "TimeOfDay"
      ]
    }
  }
}