PARALLAX

mq_user_info

List users of an Amazon MQ broker

Collection: community.aws

Full Name: community.aws.mq_user_info

Synopsis

List users of an Amazon MQ broker

Parameters

NameTypeRequiredDefaultDescription
access_keystr
as_dictboolfalse
aws_ca_bundlepath
aws_configdict
broker_idstryes
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
max_resultsint100
profilestr
regionstr
secret_keystr
session_tokenstr
skip_pending_createboolfalse
skip_pending_deleteboolfalse
validate_certsbooltrue

Example

yaml
- name: get all users as list - relying on environment for API credentials
  community.aws.mq_user_info:
    broker_id: "aws-mq-broker-id"
    max_results: 50
  register: result

- name: get users as dict - explicitly specifying all credentials
  community.aws.mq_user_info:
    broker_id: "aws-mq-broker-id"
  register: result

- name: get list of users to decide which may need to be deleted
  community.aws.mq_user_info:
    broker_id: "aws-mq-broker-id"
    skip_pending_delete: true

- name: get list of users to decide which may need to be created
  community.aws.mq_user_info:
    broker_id: "aws-mq-broker-id"
    skip_pending_create: true
Search
    ↑ ↓ move↵ openesc close