Amazon MQ
REST API Reference
Amazon MQ: REST API Reference
Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.
Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.
Table of Contents
Welcome ... 1
Example REST Request ... 1
Example REST Response ... 1
Resources ... 4
Broker ... 4
URI ... 4
HTTP methods ... 4
Schemas ... 6
Properties ... 10
See also ... 25
Broker Engine Types ... 26
URI ... 26
HTTP methods ... 26
Schemas ... 27
Properties ... 28
See also ... 29
Broker Instance Options ... 30
URI ... 30
HTTP methods ... 30
Schemas ... 31
Properties ... 32
See also ... 34
Broker Reboot ... 34
URI ... 35
HTTP methods ... 35
Schemas ... 35
Properties ... 36
See also ... 36
Brokers ... 36
URI ... 36
HTTP methods ... 37
Schemas ... 38
Properties ... 40
See also ... 51
Configuration ... 51
URI ... 51
HTTP methods ... 52
Schemas ... 53
Properties ... 54
See also ... 59
Configuration Revision ... 59
URI ... 59
HTTP methods ... 59
Schemas ... 60
Properties ... 61
See also ... 62
Configuration Revisions ... 62
URI ... 62
HTTP methods ... 62
Schemas ... 63
Properties ... 64
See also ... 65
Configurations ... 66
URI ... 66
HTTP methods ... 66
Schemas ... 67
Properties ... 69
See also ... 73
Tag ... 74
URI ... 74
HTTP methods ... 74
Schemas ... 76
Properties ... 77
See also ... 77
User ... 78
URI ... 79
HTTP methods ... 79
Schemas ... 83
Properties ... 84
See also ... 86
Users ... 88
URI ... 88
HTTP methods ... 88
Schemas ... 89
Properties ... 89
See also ... 91
Operations ... 92
Example REST Request
Welcome
Welcome to the Amazon MQ REST API reference. In this guide, you can find descriptions of REST resources, example requests, HTTP methods, schemas, parameters, and the errors that the service returns.
Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols. Amazon MQ works with your existing applications and services without the need to manage, operate, or maintain your own messaging system.
Topics
• Example REST Request (p. 1)
• Example REST Response (p. 1)
Additional Information
• Amazon MQ Product Page
• Amazon MQ Developer Guide
• Amazon MQ in the AWS CLI Command Reference
• Regions and Endpoints
This document was last published on July 7, 2021
Example REST Request
The following is an example of an Amazon MQ REST request (and its headers) which creates a new Amazon MQ for ActiveMQ broker:
POST /v1/brokers HTTP/1.1 Content-Type: application/json X-Amz-Date: 20171123T214525Z
Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20171128/us- east-2/mq/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=a12bc34567defg89h0ij1234kl56m789no01p2q345r6s789tu01v2w3x4567890 Host: mq.us-east-2.amazonaws.com
Cache-Control: no-cache {
"brokerName": "MyActiveMQBroker", "hostInstanceType": "mq.m5.large", "engineType": "ActiveMQ",
"engineVersion": "5.15.8", "logs": {
"general": true, "audit": false },
"deploymentMode": "ACTIVE_STANDBY_MULTI_AZ", "publiclyAccessible": true,
"subnetIds": [
"subnet-12a3b45c",
"subnet-67d8e90f"
],
"securityGroups": [ "sg-a1b234cd", "sg-e5f678gh"
],
"autoMinorVersionUpgrade": true, "users": [{
"password": "MyPassword456", "groups": [
"admins"
],
"consoleAccess": true, "username": "jane.doe"
}]
}
The following is an example of an Amazon MQ REST request (and its headers) which creates a new Amazon MQ for RabbitMQ broker:
POST /v1/brokers HTTP/1.1 Content-Type: application/json X-Amz-Date: 20171123T214525Z
Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20171128/us- east-2/mq/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=a12bc34567defg89h0ij1234kl56m789no01p2q345r6s789tu01v2w3x4567890 Host: mq.us-east-2.amazonaws.com
Cache-Control: no-cache
{ "brokerName": "MyRabbitMQBroker", "hostInstanceType": "mq.m5.large", "engineType": "RabbitMQ",
"engineVersion": "3.8.6", "logs": {
"general": true },
"deploymentMode": "CLUSTER_MULTI_AZ", "publiclyAccessible": true, "subnetIds": [
"subnet-15a3b47c", "subnet-69d8n90j"
],
"autoMinorVersionUpgrade": true, "users": [{
"password": "MyPassword456", "groups": [
"admins"
],
"consoleAccess": true, "username": "jane.doe"
}]
}
Example REST Response
The following is an example of an Amazon MQ REST response (and its headers) which acknowledges the creation of the new broker:
HTTP/1.1 200 OK
Example REST Response
Content-Type: application/json Content-Length: 250
Connection: keep-alive
Date: Wed, 28 Nov 2017 12:00:00 GMT
X-Amzn-RequestId: a12bc345-67de-89f0-g12h-345ij6k7l89m
X-Amzn-Trace-Id: sampled=1;root=1-2345a67b-c8defg901hijk2lf3m4nopqr X-Cache: Miss from cloudfront
Via: 1.1 ab123456cd789ef012g34567890h1i23.cloudfront.net (CloudFront) X-Amz-Cf-Id: ABCa1D6b2-EcF3dG7e456_fGIgh7JKLMijNO_PQ8RSTUVWX-Y9k0ZA==
{
"brokerId" : "b-1234a5b6-78cd-901e-2fgh-3i45j6k178l9", "brokerArn": "arn:aws:mq:us-
east-2:123456789012:broker:MyBroker:b-1234a5b6-78cd-901e-2fgh-3i45j6k178l9"
}
Resources
The Amazon MQ REST API includes the following resources.
Topics
• Broker (p. 4)
• Broker Engine Types (p. 26)
• Broker Instance Options (p. 30)
• Broker Reboot (p. 34)
• Brokers (p. 36)
• Configuration (p. 51)
• Configuration Revision (p. 59)
• Configuration Revisions (p. 62)
• Configurations (p. 66)
• Tag (p. 74)
• User (p. 78)
• Users (p. 88)
Broker
A broker is a message broker environment running on Amazon MQ. It is the basic building block of Amazon MQ. For more information about the different components of an Amazon MQ broker, see How Amazon MQ works in the Amazon MQ Developer Guide.
URI
/v1/brokers/broker-id
HTTP methods
GET
Operation ID: DescribeBroker
Returns information about the specified broker.
Path parameters
Name Type Required Description
broker-id String True The unique ID that
Amazon MQ generates for the broker.
Responses
Status code Response model Description
200 DescribeBrokerOutput (p. 7)HTTP Status Code 200: OK.
HTTP methods
Status code Response model Description
400 Error (p. 10) HTTP Status Code 400: Bad
request due to incorrect input.
Correct your request and then retry it.
403 Error (p. 10) HTTP Status Code 403: Access
forbidden. Correct your credentials and then retry your request.
404 Error (p. 10) HTTP Status Code 404: Resource
not found due to incorrect input.
Correct your request and then retry it.
500 Error (p. 10) HTTP Status Code 500:
Unexpected internal server error.
Retrying your request might resolve the issue.
PUT
Operation ID: UpdateBroker
Adds a pending configuration change to a broker.
Path parameters
Name Type Required Description
broker-id String True The unique ID that
Amazon MQ generates for the broker.
Responses
Status code Response model Description
200 UpdateBrokerOutput (p. 9) HTTP Status Code 200: OK.
400 Error (p. 10) HTTP Status Code 400: Bad
request due to incorrect input.
Correct your request and then retry it.
403 Error (p. 10) HTTP Status Code 403: Access
forbidden. Correct your credentials and then retry your request.
404 Error (p. 10) HTTP Status Code 404: Resource
not found due to incorrect input.
Correct your request and then retry it.
Status code Response model Description
409 Error (p. 10) HTTP Status Code 409: Conflict.
This broker name already exists.
Retry your request with another name.
500 Error (p. 10) HTTP Status Code 500:
Unexpected internal server error.
Retrying your request might resolve the issue.
DELETE
Operation ID: DeleteBroker
Deletes a broker. Note: This API is asynchronous.
Path parameters
Name Type Required Description
broker-id String True The unique ID that
Amazon MQ generates for the broker.
Responses
Status code Response model Description
200 DeleteBrokerOutput (p. 10)HTTP Status Code 200: OK.
400 Error (p. 10) HTTP Status Code 400: Bad
request due to incorrect input.
Correct your request and then retry it.
403 Error (p. 10) HTTP Status Code 403: Access
forbidden. Correct your credentials and then retry your request.
404 Error (p. 10) HTTP Status Code 404: Resource
not found due to incorrect input.
Correct your request and then retry it.
500 Error (p. 10) HTTP Status Code 500:
Unexpected internal server error.
Retrying your request might resolve the issue.
Schemas
Request bodies
Schemas
PUT schema
{ "engineVersion": "string", "maintenanceWindowStartTime": { "dayOfWeek": enum,
"timeZone": "string", "timeOfDay": "string"
},
"configuration": { "id": "string", "revision": integer
}, "authenticationStrategy": enum, "securityGroups": [
"string"
], "ldapServerMetadata": {
"roleSearchMatching": "string", "serviceAccountPassword": "string", "roleBase": "string",
"hosts": [ "string"
],
"roleName": "string", "userBase": "string",
"roleSearchSubtree": boolean, "serviceAccountUsername": "string", "userRoleName": "string",
"userSearchMatching": "string", "userSearchSubtree": boolean }, "logs": {
"general": boolean, "audit": boolean },
"hostInstanceType": "string", "autoMinorVersionUpgrade": boolean }
Response bodies
DescribeBrokerOutput schema
{ "pendingEngineVersion": "string", "pendingAuthenticationStrategy": enum, "pendingSecurityGroups": [
"string"
], "configurations": { "current": { "id": "string", "revision": integer },
"pending": { "id": "string", "revision": integer },
"history": [ {
"id": "string", "revision": integer
} ]
}, "brokerState": enum, "engineType": enum, "brokerInstances": [ {
"endpoints": [ "string"
],
"consoleURL": "string", "ipAddress": "string"
} ],
"hostInstanceType": "string", "publiclyAccessible": boolean, "logs": {
"generalLogGroup": "string", "general": boolean,
"audit": boolean, "pending": {
"general": boolean, "audit": boolean },
"auditLogGroup": "string"
},
"ldapServerMetadata": {
"roleSearchMatching": "string", "roleBase": "string",
"hosts": [ "string"
],
"roleName": "string", "userBase": "string",
"roleSearchSubtree": boolean, "serviceAccountUsername": "string", "userRoleName": "string",
"userSearchMatching": "string", "userSearchSubtree": boolean }, "subnetIds": [
"string"
], "engineVersion": "string",
"pendingHostInstanceType": "string", "brokerArn": "string",
"brokerId": "string", "deploymentMode": enum,
"maintenanceWindowStartTime": { "dayOfWeek": enum,
"timeZone": "string", "timeOfDay": "string"
}, "created": "string",
"authenticationStrategy": enum, "users": [
{
"pendingChange": enum, "username": "string"
} ], "tags": {
}, "pendingLdapServerMetadata": { "roleSearchMatching": "string", "roleBase": "string",
Schemas
"hosts": [ "string"
],
"roleName": "string", "userBase": "string",
"roleSearchSubtree": boolean, "serviceAccountUsername": "string", "userRoleName": "string",
"userSearchMatching": "string", "userSearchSubtree": boolean },
"encryptionOptions": { "useAwsOwnedKey": boolean, "kmsKeyId": "string"
}, "storageType": enum, "securityGroups": [ "string"
],
"brokerName": "string",
"autoMinorVersionUpgrade": boolean }
UpdateBrokerOutput schema
{
"engineVersion": "string", "brokerId": "string",
"maintenanceWindowStartTime": { "dayOfWeek": enum,
"timeZone": "string", "timeOfDay": "string"
}, "configuration": { "id": "string", "revision": integer
}, "authenticationStrategy": enum, "securityGroups": [
"string"
],
"ldapServerMetadata": {
"roleSearchMatching": "string", "roleBase": "string",
"hosts": [ "string"
],
"roleName": "string", "userBase": "string",
"roleSearchSubtree": boolean, "serviceAccountUsername": "string", "userRoleName": "string",
"userSearchMatching": "string", "userSearchSubtree": boolean }, "logs": {
"general": boolean, "audit": boolean },
"hostInstanceType": "string", "autoMinorVersionUpgrade": boolean }
DeleteBrokerOutput schema
{ "brokerId": "string"
}
Error schema
{
"errorAttribute": "string", "message": "string"
}
Properties
AuthenticationStrategy
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
SIMPLE LDAP
BrokerInstance
Returns information about all brokers.
endpoints
The broker's wire-level protocol endpoints.
Type: Array of type string Required: False
consoleURL
The brokers web console URL.
Type: string Required: False
ipAddress
The IP address of the Elastic Network Interface (ENI) attached to the broker. Does not apply to RabbitMQ brokers.
Type: string Required: False
BrokerState
The broker's status.
Properties
CREATION_IN_PROGRESS CREATION_FAILED DELETION_IN_PROGRESS RUNNING
REBOOT_IN_PROGRESS
BrokerStorageType
The broker's storage type.
Important
EFS is not supported for RabbitMQ engine type.
EBS EFS
ChangeType
The type of change pending for the ActiveMQ user.
CREATE UPDATE DELETE
ConfigurationId
A list of information about the configuration.
Important
Does not apply to RabbitMQ brokers.
id
Required. The unique ID that Amazon MQ generates for the configuration.
Type: string Required: True
revision
The revision number of the configuration.
Type: integer Required: False
Configurations
Broker configuration information
current
The broker's current configuration.
Type: ConfigurationId (p. 11) Required: False
pending
The broker's pending configuration.
Type: ConfigurationId (p. 11) Required: False
history
The history of configurations applied to the broker.
Type: Array of type ConfigurationId (p. 11) Required: False
DeleteBrokerOutput
Returns information about the deleted broker.
brokerId
The unique ID that Amazon MQ generates for the broker.
Type: string Required: False
DeploymentMode
The broker's deployment mode.
SINGLE_INSTANCE
ACTIVE_STANDBY_MULTI_AZ CLUSTER_MULTI_AZ
DescribeBrokerOutput
Returns information about the specified broker.
pendingEngineVersion
The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
Type: string Required: False
pendingAuthenticationStrategy
The authentication strategy that will be applied when the broker is rebooted. The default is SIMPLE.
Type: AuthenticationStrategy (p. 10)
Properties
Required: False
pendingSecurityGroups
The list of pending security groups to authorize connections to brokers.
Type: Array of type string Required: False
configurations
The list of all revisions for the specified configuration.
Type: Configurations (p. 11) Required: False
brokerState
The broker's status.Type: BrokerState (p. 10) Required: False
engineType
The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
Type: EngineType (p. 16) Required: True
brokerInstances
A list of information about allocated brokers.
Type: Array of type BrokerInstance (p. 10) Required: False
hostInstanceType
The broker's instance type.Type: string Required: False
publiclyAccessible
Enables connections from applications outside of the VPC that hosts the broker's subnets.
Type: boolean Required: True
logs
The list of information about logs currently enabled and pending to be deployed for the specified broker.
Type: LogsSummary (p. 21) Required: False
ldapServerMetadata
The metadata of the LDAP server used to authenticate and authorize connections to the broker.
Type: LdapServerMetadataOutput (p. 19) Required: False
subnetIds
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
Type: Array of type string Required: False
engineVersion
The broker engine's version. For a list of supported engine versions, see Supported engines.
Type: string Required: False
pendingHostInstanceType
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
Type: string Required: False
brokerArn
The broker's Amazon Resource Name (ARN).
Type: string Required: False
brokerId
The unique ID that Amazon MQ generates for the broker.
Type: string Required: False
deploymentMode
The broker's deployment mode.
Type: DeploymentMode (p. 12) Required: True
Properties
maintenanceWindowStartTime
The parameters that determine the WeeklyStartTime.
Type: WeeklyStartTime (p. 25) Required: False
created
The time when the broker was created.
Type: string Required: False Format: date-time
authenticationStrategy
The authentication strategy used to secure the broker. The default is SIMPLE.
Type: AuthenticationStrategy (p. 10) Required: False
users
The list of all broker usernames for the specified broker.
Type: Array of type UserSummary (p. 24) Required: False
tags
The list of all tags associated with this broker.
Type: object Required: False
pendingLdapServerMetadata
The metadata of the LDAP server that will be used to authenticate and authorize connections to the broker after it is rebooted.
Type: LdapServerMetadataOutput (p. 19) Required: False
encryptionOptions
Encryption options for the broker. Does not apply to RabbitMQ brokers.
Type: EncryptionOptions (p. 16) Required: False
storageType
The broker's storage type.
Type: BrokerStorageType (p. 11) Required: False
securityGroups
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
Type: Array of type string Required: False
brokerName
The broker's name. This value must be unique in your AWS account account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
Type: string Required: False
autoMinorVersionUpgrade
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
Type: boolean Required: True
EncryptionOptions
Important
Does not apply to RabbitMQ brokers.
Encryption options for the broker.
useAwsOwnedKey
Enables the use of an AWS owned CMK using AWS KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
Type: boolean Required: True
kmsKeyId
The customer master key (CMK) to use for the A AWS KMS (KMS). This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
Type: string Required: False
EngineType
The type of broker engine. Amazon MQ supports ActiveMQ and RabbitMQ.
Properties
ACTIVEMQ RABBITMQ
Error
Returns information about an error.
errorAttribute
The attribute which caused the error.
Type: string Required: False
message
The explanation of the error.
Type: string Required: False
LdapServerMetadataInput
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker.
Important
Does not apply to RabbitMQ brokers.
roleSearchMatching
The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter.
The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
Type: string Required: True
serviceAccountPassword
Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
Type: string Required: True
roleBase
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.
Type: string Required: True
hosts
Specifies the location of the LDAP server such as AWS Directory Service for Microsoft Active Directory.
Optional failover server.
Type: Array of type string Required: True
roleName
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
Type: string Required: False
userBase
Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.
Type: string Required: True
roleSearchSubtree
The directory search scope for the role. If set to true, scope is to search the entire subtree.
Type: boolean Required: False
serviceAccountUsername
Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
Type: string Required: True
userRoleName
Specifies the name of the LDAP attribute for the user group membership.
Type: string Required: False
userSearchMatching
The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com.
Properties
Type: string Required: True
userSearchSubtree
The directory search scope for the user. If set to true, scope is to search the entire subtree.
Type: boolean Required: False
LdapServerMetadataOutput
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker.
roleSearchMatching
The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter.
The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
Type: string Required: True
roleBase
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.
Type: string Required: True
hosts
Specifies the location of the LDAP server such as AWS Directory Service for Microsoft Active Directory.
Optional failover server.
Type: Array of type string Required: True
roleName
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
Type: string Required: False
userBase
Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to
ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.
Type: string Required: True
roleSearchSubtree
The directory search scope for the role. If set to true, scope is to search the entire subtree.
Type: boolean Required: False
serviceAccountUsername
Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
Type: string Required: True
userRoleName
Specifies the name of the LDAP attribute for the user group membership.
Type: string Required: False
userSearchMatching
The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com.
Type: string Required: True
userSearchSubtree
The directory search scope for the user. If set to true, scope is to search the entire subtree.
Type: boolean Required: False
Logs
The list of information about logs to be enabled for the specified broker.
general
Enables general logging.
Type: boolean Required: False
Properties
audit
Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ brokers.
Type: boolean Required: False
LogsSummary
The list of information about logs currently enabled and pending to be deployed for the specified broker.
generalLogGroup
The location of the CloudWatch Logs log group where general logs are sent.
Type: string Required: True
general
Enables general logging.
Type: boolean Required: True
audit
Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged.
Type: boolean Required: False
pending
The list of information about logs pending to be deployed for the specified broker.
Type: PendingLogs (p. 21) Required: False
auditLogGroup
The location of the CloudWatch Logs log group where audit logs are sent.
Type: string Required: False
PendingLogs
The list of information about logs to be enabled for the specified broker.
general
Enables general logging.
Type: boolean Required: False
audit
Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged.
Type: boolean Required: False
UpdateBrokerInput
Updates the broker using the specified properties.
engineVersion
The broker engine version. For a list of supported engine versions, see Supported engines.
Type: string Required: False
maintenanceWindowStartTime
The parameters that determine the WeeklyStartTime.
Type: WeeklyStartTime (p. 25) Required: False
configuration
A list of information about the configuration.
Type: ConfigurationId (p. 11) Required: False
authenticationStrategy
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
Type: AuthenticationStrategy (p. 10) Required: False
securityGroups
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
Type: Array of type string Required: False
ldapServerMetadata
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
Properties
Type: LdapServerMetadataInput (p. 17) Required: False
logs
Enables Amazon CloudWatch logging for brokers.
Type: Logs (p. 20) Required: False
hostInstanceType
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
Type: string Required: False
autoMinorVersionUpgrade
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
Type: boolean Required: False
UpdateBrokerOutput
Returns information about the updated broker.
engineVersion
The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
Type: string Required: False
brokerId
Required. The unique ID that Amazon MQ generates for the broker.
Type: string Required: True
maintenanceWindowStartTime
The parameters that determine the WeeklyStartTime.
Type: WeeklyStartTime (p. 25) Required: False
configuration
The ID of the updated configuration.
Type: ConfigurationId (p. 11) Required: False
authenticationStrategy
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
Type: AuthenticationStrategy (p. 10) Required: False
securityGroups
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
Type: Array of type string Required: False
ldapServerMetadata
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
Type: LdapServerMetadataOutput (p. 19) Required: False
logs
The list of information about logs to be enabled for the specified broker.
Type: Logs (p. 20) Required: False
hostInstanceType
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
Type: string Required: False
autoMinorVersionUpgrade
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
Type: boolean Required: False
UserSummary
Returns a list of all broker users. Does not apply to RabbitMQ brokers.
pendingChange
The type of change pending for the broker user.
See also
Type: ChangeType (p. 11) Required: False
username
Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
Type: string Required: True
WeeklyStartTime
The scheduled time period relative to UTC during which Amazon MQ begins to apply pending updates or patches to the broker.
dayOfWeek
Required. The day of the week.
Type: string Required: True
Values: MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY | SATURDAY | SUNDAY
timeZone
The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
Type: string Required: False
timeOfDay
Required. The time, in 24-hour format.
Type: string Required: True
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following:
DescribeBroker
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
UpdateBroker
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteBroker
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
Broker Engine Types
Retrieve information about available broker engines. AWS does not support all instance types in all availability zones and regions. For more information, see Supported engines in the Amazon MQ Developer Guide.
This API will tell you, for a given region and availability zone, which broker engine types and engine versions you can create.
URI
/v1/broker-engine-types
HTTP methods
GET
Operation ID: DescribeBrokerEngineTypes
Schemas
Describe available engine types and versions.
Query parameters
Name Type Required Description
engineType String False Filter response by
engine type.
nextToken String False The token that specifies
the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
maxResults String False The maximum number
of brokers that Amazon MQ can return per page (20 by default).
This value must be an integer from 5 to 100.
Responses
Status code Response model Description
200 BrokerEngineTypeOutput (p. 27)HTTP Status Code 200: OK.
400 Error (p. 28) HTTP Status Code 400: Bad
request due to incorrect input.
Correct your request and then retry it.
403 Error (p. 28) HTTP Status Code 403: Access
forbidden. Correct your credentials and then retry your request.
500 Error (p. 28) HTTP Status Code 500:
Unexpected internal server error.
Retrying your request might resolve the issue.
Schemas
Response bodies
BrokerEngineTypeOutput schema
{
"nextToken": "string", "maxResults": integer, "brokerEngineTypes": [ {
"engineVersions": [
{
"name": "string"
} ],
"engineType": enum }
]}
Error schema
{ "errorAttribute": "string", "message": "string"
}
Properties
BrokerEngineType
Types of broker engines.
engineVersions
The list of engine versions.
Type: Array of type EngineVersion (p. 29) Required: False
engineType
The broker's engine type.
Type: EngineType (p. 29) Required: False
BrokerEngineTypeOutput
Returns a list of broker engine type.
nextToken
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
Type: string Required: False
maxResults
Required. The maximum number of engine types that can be returned per page (20 by default). This value must be an integer from 5 to 100.
Type: integer
See also
Required: True Minimum: 5 Maximum: 100
brokerEngineTypes
List of available engine types and versions.
Type: Array of type BrokerEngineType (p. 28) Required: False
EngineType
The type of broker engine. Amazon MQ supports ActiveMQ and RabbitMQ.
ACTIVEMQ RABBITMQ
EngineVersion
Id of the engine version.
name
Id for the version.
Type: string Required: False
Error
Returns information about an error.
errorAttribute
The attribute which caused the error.
Type: string Required: False
message
The explanation of the error.
Type: string Required: False
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following:
DescribeBrokerEngineTypes
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
Broker Instance Options
You can retrieve information about broker instances. For more information about the different
components of an Amazon MQ broker, see How Amazon MQ works in the Amazon MQ Developer Guide.
URI
/v1/broker-instance-options
HTTP methods
GET
Operation ID: DescribeBrokerInstanceOptions Describe available broker instance options.
Query parameters
Name Type Required Description
hostInstanceType String False Filter response by host
instance type.
nextToken String False The token that specifies
the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
storageType String False Filter response by
storage type.
maxResults String False The maximum number
of brokers that Amazon MQ can return per page (20 by default).
Schemas
Name Type Required Description
This value must be an integer from 5 to 100.
engineType String False Filter response by
engine type.
Responses
Status code Response model Description
200 BrokerInstanceOptionsOutput (p. 31)HTTP Status Code 200: OK.
400 Error (p. 32) HTTP Status Code 400: Bad
request due to incorrect input.
Correct your request and then retry it.
403 Error (p. 32) HTTP Status Code 403: Access
forbidden. Correct your credentials and then retry your request.
500 Error (p. 32) HTTP Status Code 500:
Unexpected internal server error.
Retrying your request might resolve the issue.
Schemas
Response bodies
BrokerInstanceOptionsOutput schema
{ "nextToken": "string", "maxResults": integer, "brokerInstanceOptions": [ {
"supportedDeploymentModes": [ enum
],
"supportedEngineVersions": [ "string"
],
"storageType": enum, "engineType": enum, "availabilityZones": [ {
"name": "string"
} ],
"hostInstanceType": "string"
} ]}
Error schema
{
"errorAttribute": "string", "message": "string"
}
Properties
AvailabilityZone
Name of the availability zone.
name
Id for the availability zone.
Type: string Required: False
BrokerInstanceOption
Option for host instance type.
supportedDeploymentModes
The list of supported deployment modes.
Type: Array of type DeploymentMode (p. 33) Required: False
supportedEngineVersions
The list of supported engine versions.
Type: Array of type string Required: False
storageType
The broker's storage type.
Type: BrokerStorageType (p. 33) Required: False
engineType
The broker's engine type.
Type: EngineType (p. 34) Required: False
availabilityZones
The list of available az.Properties
Type: Array of type AvailabilityZone (p. 32) Required: False
hostInstanceType
The broker's instance type.Type: string Required: False
BrokerInstanceOptionsOutput
Returns a list of broker instance options.
nextToken
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
Type: string Required: False
maxResults
Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
Type: integer Required: True Minimum: 5 Maximum: 100
brokerInstanceOptions
List of available broker instance options.
Type: Array of type BrokerInstanceOption (p. 32) Required: False
BrokerStorageType
The broker's storage type.
Important
EFS is not supported for RabbitMQ engine type.
EBSEFS
DeploymentMode
The broker's deployment mode.
SINGLE_INSTANCE
ACTIVE_STANDBY_MULTI_AZ
CLUSTER_MULTI_AZ
EngineType
The type of broker engine. Amazon MQ supports ActiveMQ and RabbitMQ.
ACTIVEMQ RABBITMQ
Error
Returns information about an error.
errorAttribute
The attribute which caused the error.
Type: string Required: False
message
The explanation of the error.
Type: string Required: False
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following:
DescribeBrokerInstanceOptions
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
Broker Reboot
To apply a new configuration to a broker, you can reboot the broker. In addition, if your broker becomes unresponsive, you can reboot it to recover from a faulty state.
Note
You can reboot only a broker with the RUNNING status.URI
URI
/v1/brokers/broker-id/reboot
HTTP methods
POST
Operation ID: RebootBroker
Reboots a broker. Note: This API is asynchronous.
Path parameters
Name Type Required Description
broker-id String True The unique ID that
Amazon MQ generates for the broker.
Responses
Status code Response model Description
200 None HTTP Status Code 200: OK.
400 Error (p. 35) HTTP Status Code 400: Bad
request due to incorrect input.
Correct your request and then retry it.
403 Error (p. 35) HTTP Status Code 403: Access
forbidden. Correct your credentials and then retry your request.
404 Error (p. 35) HTTP Status Code 404: Resource
not found due to incorrect input.
Correct your request and then retry it.
500 Error (p. 35) HTTP Status Code 500:
Unexpected internal server error.
Retrying your request might resolve the issue.
Schemas
Response bodies
Error schema
{ "errorAttribute": "string",
"message": "string"
}
Properties
Error
Returns information about an error.
errorAttribute
The attribute which caused the error.
Type: string Required: False
message
The explanation of the error.
Type: string Required: False
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following:
RebootBroker
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
Brokers
This is a collection of brokers. A broker is a message broker environment running on Amazon MQ. It is the basic building block of Amazon MQ. For more information, see Broker instance types in the Amazon MQ Developer Guide.
URI
/v1/brokers
HTTP methods
HTTP methods
GET
Operation ID: ListBrokers Returns a list of all brokers.
Query parameters
Name Type Required Description
nextToken String False The token that specifies
the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
maxResults String False The maximum number
of brokers that Amazon MQ can return per page (20 by default).
This value must be an integer from 5 to 100.
Responses
Status code Response model Description
200 ListBrokersOutput (p. 40) HTTP Status Code 200: OK.
400 Error (p. 40) HTTP Status Code 400: Bad
request due to incorrect input.
Correct your request and then retry it.
403 Error (p. 40) HTTP Status Code 403: Access
forbidden. Correct your credentials and then retry your request.
500 Error (p. 40) HTTP Status Code 500:
Unexpected internal server error.
Retrying your request might resolve the issue.
POST
Operation ID: CreateBroker
Creates a broker. Note: This API is asynchronous.
To create a broker, you must either use the AmazonMQFullAccess IAM policy or include the following EC2 permissions in your IAM policy.
• ec2:CreateNetworkInterface
This permission is required to allow Amazon MQ to create an elastic network interface (ENI) on behalf of your account.
• ec2:CreateNetworkInterfacePermission
This permission is required to attach the ENI to the broker instance.
• ec2:DeleteNetworkInterface
• ec2:DeleteNetworkInterfacePermission
• ec2:DetachNetworkInterface
• ec2:DescribeInternetGateways
• ec2:DescribeNetworkInterfaces
• ec2:DescribeNetworkInterfacePermissions
• ec2:DescribeRouteTables
• ec2:DescribeSecurityGroups
• ec2:DescribeSubnets
• ec2:DescribeVpcs
For more information, see Create an IAM User and Get Your AWS Credentials and Never Modify or Delete the Amazon MQ Elastic Network Interface in the Amazon MQ Developer Guide.
Responses
Status code Response model Description
200 CreateBrokerOutput (p. 40)HTTP Status Code 200: OK.
400 Error (p. 40) HTTP Status Code 400: Bad
request due to incorrect input.
Correct your request and then retry it.
401 Error (p. 40) HTTP Status Code 401:
Unauthorized request. The provided credentials couldn't be validated.
403 Error (p. 40) HTTP Status Code 403: Access
forbidden. Correct your credentials and then retry your request.
409 Error (p. 40) HTTP Status Code 409: Conflict.
This broker name already exists.
Retry your request with another name.
500 Error (p. 40) HTTP Status Code 500:
Unexpected internal server error.
Retrying your request might resolve the issue.
Schemas
Request bodies
Schemas
POST schema
{
"engineVersion": "string", "deploymentMode": enum,
"maintenanceWindowStartTime": { "dayOfWeek": enum,
"timeZone": "string", "timeOfDay": "string"
},
"configuration": { "id": "string", "revision": integer
}, "authenticationStrategy": enum, "engineType": enum,
"hostInstanceType": "string", "users": [
{
"password": "string", "groups": [
"string"
],
"consoleAccess": boolean, "username": "string"
} ], "tags": {
}, "creatorRequestId": "string", "publiclyAccessible": boolean, "encryptionOptions": {
"useAwsOwnedKey": boolean, "kmsKeyId": "string"
},
"storageType": enum, "securityGroups": [ "string"
], "brokerName": "string", "logs": {
"general": boolean, "audit": boolean }, "ldapServerMetadata": {
"roleSearchMatching": "string", "serviceAccountPassword": "string", "roleBase": "string",
"hosts": [ "string"
],
"roleName": "string", "userBase": "string",
"roleSearchSubtree": boolean, "serviceAccountUsername": "string", "userRoleName": "string",
"userSearchMatching": "string", "userSearchSubtree": boolean }, "autoMinorVersionUpgrade": boolean, "subnetIds": [
"string"
] }
Response bodies
ListBrokersOutput schema
{
"brokerSummaries": [ {
"brokerArn": "string", "brokerId": "string", "deploymentMode": enum, "created": "string", "brokerState": enum, "engineType": enum, "brokerName": "string", "hostInstanceType": "string"
} ],
"nextToken": "string"
}
CreateBrokerOutput schema
{
"brokerArn": "string", "brokerId": "string"
}
Error schema
{ "errorAttribute": "string", "message": "string"
}
Properties
AuthenticationStrategy
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
SIMPLE LDAP
BrokerState
The broker's status.
CREATION_IN_PROGRESS CREATION_FAILED DELETION_IN_PROGRESS RUNNING
REBOOT_IN_PROGRESS
Properties
BrokerStorageType
The broker's storage type.
Important
EFS is not supported for RabbitMQ engine type.
EBS EFS
BrokerSummary
Returns information about all brokers.
brokerArn
The broker's Amazon Resource Name (ARN).
Type: string Required: False
brokerId
The unique ID that Amazon MQ generates for the broker.
Type: string Required: False
deploymentMode
The broker's deployment mode.
Type: DeploymentMode (p. 46) Required: True
created
The time when the broker was created.
Type: string Required: False Format: date-time
brokerState
The broker's status.Type: BrokerState (p. 40) Required: False
engineType
The type of broker engine.
Type: EngineType (p. 46) Required: True
brokerName
The broker's name. This value is unique in your AWS account, 1-50 characters long, and containing only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
Type: string Required: False
hostInstanceType
The broker's instance type.Type: string Required: False
ConfigurationId
A list of information about the configuration.
Important
Does not apply to RabbitMQ brokers.
id
Required. The unique ID that Amazon MQ generates for the configuration.
Type: string Required: True
revision
The revision number of the configuration.
Type: integer Required: False
CreateBrokerInput
Creates a broker.
engineVersion
Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
Type: string Required: True
deploymentMode
Required. The broker's deployment mode.
Properties
Type: DeploymentMode (p. 46) Required: True
maintenanceWindowStartTime
The parameters that determine the WeeklyStartTime.
Type: WeeklyStartTime (p. 50) Required: False
configuration
A list of information about the configuration.
Type: ConfigurationId (p. 42) Required: False
authenticationStrategy
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
Type: AuthenticationStrategy (p. 40) Required: False
engineType
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
Type: EngineType (p. 46) Required: True
hostInstanceType
Required. The broker's instance type.
Type: string Required: True
users
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.
Type: Array of type User (p. 49) Required: True
tags
Create tags when creating the broker.
Type: object
Required: False
creatorRequestId
The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API action.
Note
We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.
Type: string Required: False
publiclyAccessible
Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.
Type: boolean Required: True
encryptionOptions
Encryption options for the broker. Does not apply to RabbitMQ brokers.
Type: EncryptionOptions (p. 46) Required: False
storageType
The broker's storage type.
Type: BrokerStorageType (p. 41) Required: False
securityGroups
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
Type: Array of type string Required: False
brokerName
Required. The broker's name. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
Important
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other AWS services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
Type: string Required: True
Properties
logs
Enables Amazon CloudWatch logging for brokers.
Type: Logs (p. 49) Required: False
ldapServerMetadata
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
Type: LdapServerMetadataInput (p. 47) Required: False
autoMinorVersionUpgrade
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. Set to true by default, if no value is specified.
Type: boolean Required: True
subnetIds
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones.
Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet.
Important
If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account. Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account.
Type: Array of type string Required: False
CreateBrokerOutput
Returns information about the created broker.
brokerArn
The broker's Amazon Resource Name (ARN).
Type: string Required: False
brokerId
The unique ID that Amazon MQ generates for the broker.
Type: string Required: False
DeploymentMode
The broker's deployment mode.
SINGLE_INSTANCE
ACTIVE_STANDBY_MULTI_AZ CLUSTER_MULTI_AZ
EncryptionOptions
Important
Does not apply to RabbitMQ brokers.
Encryption options for the broker.
useAwsOwnedKey
Enables the use of an AWS owned CMK using AWS KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
Type: boolean Required: True
kmsKeyId
The customer master key (CMK) to use for the A AWS KMS (KMS). This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
Type: string Required: False
EngineType
The type of broker engine. Amazon MQ supports ActiveMQ and RabbitMQ.
ACTIVEMQ RABBITMQ
Error
Returns information about an error.
errorAttribute
The attribute which caused the error.
Type: string Required: False
message
The explanation of the error.
Properties
Type: string Required: False
LdapServerMetadataInput
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker.
Important
Does not apply to RabbitMQ brokers.
roleSearchMatching
The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter.
The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
Type: string Required: True
serviceAccountPassword
Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
Type: string Required: True
roleBase
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.
Type: string Required: True
hosts
Specifies the location of the LDAP server such as AWS Directory Service for Microsoft Active Directory.
Optional failover server.
Type: Array of type string Required: True
roleName
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
Type: string Required: False