Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
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.
See: newUser
smart constructor.
User' | |
|
Instances
Eq User Source # | |
Read User Source # | |
Show User Source # | |
Generic User Source # | |
NFData User Source # | |
Defined in Amazonka.MQ.Types.User | |
Hashable User Source # | |
Defined in Amazonka.MQ.Types.User | |
ToJSON User Source # | |
Defined in Amazonka.MQ.Types.User | |
type Rep User Source # | |
Defined in Amazonka.MQ.Types.User type Rep User = D1 ('MetaData "User" "Amazonka.MQ.Types.User" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "User'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "consoleAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of User
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:groups:User'
, 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. Does not apply to RabbitMQ brokers.
$sel:consoleAccess:User'
, user_consoleAccess
- Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does
not apply to RabbitMQ brokers.
$sel:username:User'
, user_username
- important>
Amazon MQ for ActiveMQ
For ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
/important>
Amazon MQ for RabbitMQ
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.
$sel:password:User'
, user_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 (,:=).
user_groups :: Lens' User (Maybe [Text]) Source #
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.
user_consoleAccess :: Lens' User (Maybe Bool) Source #
Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers.
user_username :: Lens' User Text Source #
important>
Amazon MQ for ActiveMQ
For ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
/important>
Amazon MQ for RabbitMQ
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.