Skip to content

Create User

mq_create_user R Documentation

Creates an ActiveMQ user

Description

Creates an ActiveMQ user.

Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker usernames are not intended to be used for private or sensitive data.

Usage

mq_create_user(BrokerId, ConsoleAccess, Groups, Password, Username,
  ReplicationUser)

Arguments

BrokerId

[required] The unique ID that Amazon MQ generates for the broker.

ConsoleAccess

Enables access to the ActiveMQ Web Console for the ActiveMQ user.

Groups

The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

Password

[required] Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

Username

[required] The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

ReplicationUser

Defines if this user is intended for CRDR replication purposes.

Value

An empty list.

Request syntax

svc$create_user(
  BrokerId = "string",
  ConsoleAccess = TRUE|FALSE,
  Groups = list(
    "string"
  ),
  Password = "string",
  Username = "string",
  ReplicationUser = TRUE|FALSE
)