class Aws::MQ::Types::User

A user associated with the broker. For RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.

@note When making an API call, you may pass User

data as a hash:

    {
      console_access: false,
      groups: ["__string"],
      password: "__string", # required
      username: "__string", # required
    }

@!attribute [rw] console_access

Enables access to the ActiveMQ Web Console for the ActiveMQ user.
Does not apply to RabbitMQ brokers.
@return [Boolean]

@!attribute [rw] 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. Does not apply to RabbitMQ brokers.
@return [Array<String>]

@!attribute [rw] password

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 (,:=).
@return [String]

@!attribute [rw] username

important><title>Amazon MQ for ActiveMQ</title>

 <para markdown="1">For ActiveMQ brokers, this value can contain
only alphanumeric characters, dashes, periods, underscores, and
tildes (- . \_ ~). This value must be 2-100 characters
long.</p>/important> <title>Amazon MQ for RabbitMQ</title>

 For RabbitMQ brokers, this value can contain only alphanumeric
characters, dashes, periods, underscores (- . \_). This value must
not contain a tilde (~) character. Amazon MQ prohibts using guest as
a valid usename. This value must be 2-100 characters long.

</para>
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/User AWS API Documentation

Constants

SENSITIVE