Outbound Bot service-linked role

更新时间:
复制 MD 格式

This topic describes the Outbound Bot service-linked role, AliyunServiceRoleForOutboundBot, and how to delete the role.

Background information

AliyunServiceRoleForOutboundBot is a service-linked role for Outbound Bot. Outbound Bot uses this role to obtain the permissions that it needs to access other Alibaba Cloud services and use specific features. For more information about service-linked roles, see Service-linked roles.

AliyunServiceRoleForOutboundBot scenarios

When Outbound Bot needs to access resources in the Chatbot, Voice Service, and Function Compute services, it can obtain access permissions through the automatically created service-linked role AliyunServiceRoleForOutboundBot.

AliyunServiceRoleForOutboundBot Introduction

Role name: AliyunServiceRoleForOutboundBot

Access policy: AliyunServiceRolePolicyForOutboundBot

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "chatbot:QueryBots",
        "chatbot:Chat"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Effect": "Allow",
      "Action": [
        "dyvms:PlayVideoFile",
        "dyvms:GetCallProgress",
        "dyvms:ChangeMediaType"
      ],
      "Resource": "*"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "outboundbot.aliyuncs.com"
        }
      }
    }
  ]
}

Delete the role

If you no longer need the AliyunServiceRoleForOutboundBot role, you can delete it. For more information, see Service-linked roles.