View a markdown version of this page

Actions, resources, and condition keys for Amazon MQ - Service Authorization Reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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:

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

mq:CreateBroker

Write

mq:CreateTags

Tagging, Write

iam:PassRole

iam:PassedToService

mq.amazonaws.com

Write

CreateConfiguration

mq:CreateConfiguration

Write

mq:CreateTags

Tagging, Write

CreateTags

mq:CreateTags

Tagging, Write

CreateUser

mq:CreateUser

Write

DeleteBroker

mq:DeleteBroker

Write

DeleteConfiguration

mq:DeleteConfiguration

Write

DeleteTags

mq:DeleteTags

Tagging, Write

DeleteUser

mq:DeleteUser

Write

DescribeBroker

mq:DescribeBroker

Read

DescribeBrokerEngineTypes

mq:DescribeBrokerEngineTypes

Read

DescribeBrokerInstanceOptions

mq:DescribeBrokerInstanceOptions

Read

DescribeConfiguration

mq:DescribeConfiguration

Read

DescribeConfigurationRevision

mq:DescribeConfigurationRevision

Read

DescribeSharedResources

mq:DescribeSharedResources

Read

DescribeUser

mq:DescribeUser

Read

ListBrokers

mq:ListBrokers

List

ListConfigurationRevisions

mq:ListConfigurationRevisions

List

ListConfigurations

mq:ListConfigurations

List

ListTags

mq:ListTags

List

ListUsers

mq:ListUsers

List

Promote

mq:Promote

Write

RebootBroker

mq:RebootBroker

Write

UpdateBroker

mq:UpdateBroker

Write

mq:UpdateBrokerAccessConfiguration

Write

iam:PassRole

iam:PassedToService

mq.amazonaws.com

Write

UpdateConfiguration

mq:UpdateConfiguration

Write

UpdateUser

mq: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

CreateBroker

Grants permission to create a broker

aws:RequestTag/${TagKey}

aws:TagKeys

Write

CreateConfiguration

Grants permission to create a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and engine version)

aws:RequestTag/${TagKey}

aws:TagKeys

Write

CreateTags

Grants permission to create tags

brokers

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

configurations

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateUser

Grants permission to create an ActiveMQ user

brokers*

aws:ResourceTag/${TagKey}

Write

DeleteBroker

Grants permission to delete a broker

brokers*

aws:ResourceTag/${TagKey}

Write

DeleteConfiguration

Grants permission to delete a configuration

configurations*

aws:ResourceTag/${TagKey}

Write

DeleteTags

Grants permission to delete tags

brokers

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

configurations

aws:ResourceTag/${TagKey}

aws:TagKeys

DeleteUser

Grants permission to delete an ActiveMQ user

brokers*

aws:ResourceTag/${TagKey}

Write

DescribeBroker

Grants permission to return information about the specified broker

brokers*

aws:ResourceTag/${TagKey}

Read

DescribeBrokerEngineTypes

Grants permission to return information about broker engines

Read

DescribeBrokerInstanceOptions

Grants permission to return information about the broker instance options

Read

DescribeConfiguration

Grants permission to return information about the specified configuration

configurations*

aws:ResourceTag/${TagKey}

Read

DescribeConfigurationRevision

Grants permission to return the specified configuration revision for the specified configuration

configurations*

aws:ResourceTag/${TagKey}

Read

DescribeSharedResources

Grants permission to return the resources shared to a broker

brokers*

aws:ResourceTag/${TagKey}

Read

DescribeUser

Grants permission to return information about an ActiveMQ user

brokers*

aws:ResourceTag/${TagKey}

Read

ListBrokers

Grants permission to return a list of all brokers

List

ListConfigurationRevisions

Grants permission to return a list of all existing revisions for the specified configuration

configurations*

aws:ResourceTag/${TagKey}

List

ListConfigurations

Grants permission to return a list of all configurations

List

ListTags

Grants permission to return a list of tags

brokers

aws:ResourceTag/${TagKey}

List

configurations

aws:ResourceTag/${TagKey}

ListUsers

Grants permission to return a list of all ActiveMQ users

brokers*

aws:ResourceTag/${TagKey}

List

Promote

Grants permission to promote a broker

brokers*

aws:ResourceTag/${TagKey}

Write

RebootBroker

Grants permission to reboot a broker

brokers*

aws:ResourceTag/${TagKey}

Write

UpdateBroker

Grants permission to add a pending configuration change to a broker

brokers*

aws:ResourceTag/${TagKey}

Write

UpdateConfiguration

Grants permission to update the specified configuration

configurations*

aws:ResourceTag/${TagKey}

Write

UpdateUser

Grants permission to update the information for an ActiveMQ user

brokers*

aws:ResourceTag/${TagKey}

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

CreateReplicaBroker

Grants permission to create a replica broker

brokers*

aws:ResourceTag/${TagKey}

Write

UpdateBrokerAccessConfiguration

Grants permission to update RabbitMQ broker authentication and authorization configuration

brokers*

aws:ResourceTag/${TagKey}

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

brokers

arn:${Partition}:mq:${Region}:${Account}:broker:${BrokerName}:${BrokerId}

aws:ResourceTag/${TagKey}

configurations

arn:${Partition}:mq:${Region}:${Account}:configuration:${ConfigurationId}

aws:ResourceTag/${TagKey}

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

aws:RequestTag/${TagKey}

Filters access by the tags that are passed in the request

String

aws:ResourceTag/${TagKey}

Filters access by the tags associated with the resource

String

aws:TagKeys

Filters access by the tag keys that are passed in the request

ArrayOfString