Struct aws_sdk_mq::model::User
source · [−]#[non_exhaustive]pub struct User { /* private fields */ }
Expand description
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.
Implementations
sourceimpl User
impl User
sourcepub fn console_access(&self) -> bool
pub fn console_access(&self) -> bool
Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers.
sourcepub fn groups(&self) -> Option<&[String]>
pub fn groups(&self) -> Option<&[String]>
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.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
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 (,:=).
sourcepub fn username(&self) -> Option<&str>
pub fn username(&self) -> Option<&str>
important>
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.