Amazon MQ
Broker, broker-user, and configuration metadata for Amazon MQ (ActiveMQ and RabbitMQ flavors). The emulator never spins up a real broker: a new one reaches RUNNING without provisioning anything, and DescribeBroker synthesizes a plausible endpoint URL.
Endpoint: http://localhost:4566Signing name: mqProtocol: REST-JSON Persistence: Yes
Amazon MQ names every request and response field in camelCase (brokerName, engineType, hostInstanceType), unlike most other AWS services. The SDK models expose them PascalCased, so the AWS CLI and the SDKs handle the difference for you, but a hand-rolled curl has to use the camelCase spelling.
Operations
| Group | Operations |
|---|---|
| Brokers | CreateBroker, DescribeBroker, ListBrokers, UpdateBroker, DeleteBroker, RebootBroker |
| Users | CreateUser, DescribeUser, ListUsers, UpdateUser, DeleteUser |
| Configurations | CreateConfiguration, DescribeConfiguration, ListConfigurations |
Behavior notes
CreateBrokerrejects withConflictExceptionif another broker already uses the samebrokerName.users[]passed toCreateBrokerare inserted into the user store in one shot; subsequentCreateUserrequests behave the same way.DeleteBrokercascades to delete every user attached to the broker.DescribeBrokersynthesizes a fakebrokerInstances[]with endpoints and a console URL so client code that displays the broker URL works.UpdateBrokerstages its changes rather than applying them, exactly as AWS does. The staged values show up aspending*fields onDescribeBrokerand only become live on the nextRebootBroker.RebootBrokerpromotes those staged values and puts the broker throughREBOOT_IN_PROGRESSfor a couple of seconds before it settles back toRUNNING, so a poll loop that waits for the reboot has something to observe.- A new broker settles into
RUNNINGimmediately. SetAWSIM_MQ_CREATE_DELAY_SECSto hold it inCREATION_IN_PROGRESSfor that many seconds if you need to exercise the transitional path. logsonDescribeBrokeris the derived summary AWS returns, carrying the CloudWatch log group names, rather than the raw toggles the broker was created with.