Amazon MQ
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Tag-based Policies

Amazon MQ supports policies based on tags. For instance, you could deny access to Amazon MQ resources that include a tag with the key environment and the value production:

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Deny", "Action": [ "mq:DeleteBroker", "mq:RebootBroker", "mq:DeleteTag" ], "Resource": "*", "Condition": { "StringEquals": { "aws:ResourceTag/environment": "production" } } } ] }

This policy will Deny the ability to delete or reboot an Amazon MQ broker that includes the tag environment/production.

For more information on tagging, see: