All Products
Search
Document Center

Resource Access Management:AliyunMQSubOnlyAccess

Last Updated:Dec 28, 2023

AliyunMQSubOnlyAccess is a service system policy that is managed by Alibaba Cloud. You can attach the AliyunMQSubOnlyAccess policy to a Resource Access Management (RAM) identity, such as a RAM user, RAM user group, and RAM role. The AliyunMQSubOnlyAccess policy: Provides subscribe-only access to RocketMQ4.0 Service via Management Console.

Policy details

  • Type: service system policy

  • Creation time: 09:00:15 on August 11, 2017

  • Update time: 03:19:11 on August 04, 2022

  • Current version: v4

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "mq:SUB",
        "mq:OnsInstanceBaseInfo"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "ons.aliyuncs.com"
        }
      }
    }
  ]
}

References