mq:ListUsers

List

mq:ListUsers is a List access-level action in the mq service. Grants permission to return a list of all ActiveMQ users

Resource types

ARNs that mq:ListUsers can be scoped to in an IAM policy.

arn:${Partition}:mq:${Region}:${Account}:broker:${BrokerName}:${BrokerId}
brokers

Condition keys

Keys you can use in the Condition block of a policy that grants mq:ListUsers.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows mq:ListUsers. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMqListUsers",
      "Effect": "Allow",
      "Action": "mq:ListUsers",
      "Resource": "*"
    }
  ]
}

Related actions in mq

View all mq actions →