All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForAppFlow

Last Updated:Jun 23, 2025

AliyunServiceRolePolicyForAppFlow is the authorization policy dedicated to a service-linked role. The policy is automatically attached to a service role when the service role is created. Then, the service-linked role is authorized to access other cloud services. This policy is updated by the relevant Alibaba Cloud service. Do not attach this policy to a RAM identity other than a service-linked role.

Policy details

  • Type: service system policy

  • Creation time: 18:56:19 on September 02, 2024

  • Update time: 05:34:50 on June 23, 2025

  • Current version: v10

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "slb:DescribeLoadBalancerAttribute",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ros:CreateChangeSet",
        "ros:GetChangeSet",
        "ros:ExecuteChangeSet"
      ],
      "Resource": "*",
      "Condition": {
        "StringEqualsIgnoreCase": {
          "acs:ResourceTag/acs:appflow:connector": [
            "true"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "oos:Chat"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ecs:DescribeInvocationResults",
        "ecs:RunCommand",
        "ecs:DescribeManagedInstances",
        "ecs:DescribeInstances",
        "ecs:DescribeInstanceAttribute"
      ],
      "Resource": "*",
      "Condition": {
        "StringEqualsIgnoreCase": {
          "ecs:tag/acs:appflow:connector": [
            "true"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:PostLogStoreLogs",
        "ecs-workbench:LoginInstance"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "computenest:GetServiceInstance",
        "computenest:ListServiceInstanceResources"
      ],
      "Resource": "*",
      "Condition": {
        "StringEqualsIgnoreCase": {
          "acs:ResourceTag/acs:appflow:connector": [
            "true"
          ]
        }
      }
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "appflow.computenest.aliyuncs.com"
        }
      }
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "workbench.ecs.aliyuncs.com"
        }
      }
    }
  ]
}

References