Interface CfnBroker.UserProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBroker.UserProperty.Jsii$Proxy
Enclosing class:
CfnBroker

@Stability(Stable) public static interface CfnBroker.UserProperty extends software.amazon.jsii.JsiiSerializable
The list of broker users (persons or applications) who can access queues and topics.

For Amazon MQ 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.

When OAuth 2.0 is enabled, the broker accepts one or no users.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.amazonmq.*;
 UserProperty userProperty = UserProperty.builder()
         .password("password")
         .username("username")
         // the properties below are optional
         .consoleAccess(false)
         .groups(List.of("groups"))
         .replicationUser(false)
         .build();
 

See Also: