Actions, resources, and condition keys for Amazon MQ
Amazon MQ (service prefix: mq) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon MQ
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
CreateBroker |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
mq.amazonaws.com |
Write |
||
|
CreateConfiguration |
Write |
|||
Tagging, Write |
||||
|
CreateTags |
Tagging, Write |
|||
|
CreateUser |
Write |
|||
|
DeleteBroker |
Write |
|||
|
DeleteConfiguration |
Write |
|||
|
DeleteTags |
Tagging, Write |
|||
|
DeleteUser |
Write |
|||
|
DescribeBroker |
Read |
|||
|
DescribeBrokerEngineTypes |
Read |
|||
|
DescribeBrokerInstanceOptions |
Read |
|||
|
DescribeConfiguration |
Read |
|||
|
DescribeConfigurationRevision |
Read |
|||
|
DescribeSharedResources |
Read |
|||
|
DescribeUser |
Read |
|||
|
ListBrokers |
List |
|||
|
ListConfigurationRevisions |
List |
|||
|
ListConfigurations |
List |
|||
|
ListTags |
List |
|||
|
ListUsers |
List |
|||
|
Promote |
Write |
|||
|
RebootBroker |
Write |
|||
|
UpdateBroker |
Write |
|||
Write |
||||
iam:PassedToService |
mq.amazonaws.com |
Write |
||
|
UpdateConfiguration |
Write |
|||
|
UpdateUser |
Write |
Actions defined by Amazon MQ
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in Amazon. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create a broker |
Write |
|||
Grants permission to create a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and engine version) |
Write |
|||
Grants permission to create tags |
Tagging, Write |
|||
Grants permission to create an ActiveMQ user |
Write |
|||
Grants permission to delete a broker |
Write |
|||
Grants permission to delete a configuration |
Write |
|||
Grants permission to delete tags |
Tagging, Write |
|||
Grants permission to delete an ActiveMQ user |
Write |
|||
Grants permission to return information about the specified broker |
Read |
|||
Grants permission to return information about broker engines |
Read |
|||
Grants permission to return information about the broker instance options |
Read |
|||
Grants permission to return information about the specified configuration |
Read |
|||
Grants permission to return the specified configuration revision for the specified configuration |
Read |
|||
Grants permission to return the resources shared to a broker |
Read |
|||
Grants permission to return information about an ActiveMQ user |
Read |
|||
Grants permission to return a list of all brokers |
List |
|||
Grants permission to return a list of all existing revisions for the specified configuration |
List |
|||
Grants permission to return a list of all configurations |
List |
|||
Grants permission to return a list of tags |
List |
|||
Grants permission to return a list of all ActiveMQ users |
List |
|||
Grants permission to promote a broker |
Write |
|||
Grants permission to reboot a broker |
Write |
|||
Grants permission to add a pending configuration change to a broker |
Write |
|||
Grants permission to update the specified configuration |
Write |
|||
Grants permission to update the information for an ActiveMQ user |
Write |
Permission-only actions for Amazon MQ
The following actions are defined by Amazon MQ but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create a replica broker |
Write |
|||
Grants permission to update RabbitMQ broker authentication and authorization configuration |
Write |
Resource types defined by Amazon MQ
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:mq:${Region}:${Account}:broker:${BrokerName}:${BrokerId} |
||
arn:${Partition}:mq:${Region}:${Account}:configuration:${ConfigurationId} |
Condition keys for Amazon MQ
Amazon MQ defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tags that are passed in the request |
String |
|
Filters access by the tags associated with the resource |
String |
|
Filters access by the tag keys that are passed in the request |
ArrayOfString |