All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForDataWorks

Last Updated:Oct 09, 2026

AliyunServiceRolePolicyForDataWorks 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: 14:28:29 on December 31, 2025

  • Update time: 19:42:48 on October 09, 2026

  • Current version: v21

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "ecs:AttachNetworkInterface",
        "ecs:AuthorizeSecurityGroup",
        "ecs:AuthorizeSecurityGroupEgress",
        "ecs:CreateNetworkInterface",
        "ecs:CreateNetworkInterfacePermission",
        "ecs:CreateSecurityGroup",
        "ecs:DeleteNetworkInterface",
        "ecs:DeleteNetworkInterfacePermission",
        "ecs:DeleteSecurityGroup",
        "ecs:DescribeNetworkInterfacePermissions",
        "ecs:DescribeNetworkInterfaces",
        "ecs:DescribeSecurityGroupAttribute",
        "ecs:DescribeSecurityGroupReferences",
        "ecs:DescribeSecurityGroups",
        "ecs:DetachNetworkInterface",
        "ecs:JoinSecurityGroup",
        "ecs:LeaveSecurityGroup",
        "ecs:ModifyNetworkInterfaceAttribute",
        "ecs:ModifySecurityGroupAttribute",
        "ecs:ModifySecurityGroupPolicy",
        "ecs:ModifySecurityGroupRule",
        "ecs:RevokeSecurityGroup",
        "ecs:RevokeSecurityGroupEgress",
        "ecs:AssignIpv6Addresses",
        "ecs:UnassignIpv6Addresses",
        "ecs:AssignPrivateIpAddresses",
        "ecs:UnassignPrivateIpAddresses",
        "ecs:DescribeInstanceAttribute",
        "ecs:DescribeNetworkInterfaceAttribute",
        "ecs:DescribeInstances",
        "ecs:TagResources",
        "ecs:AssociateEipAddress",
        "ecs:UnassociateEipAddress"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "vpc:DescribeVpcs",
        "vpc:DescribeVpcAttribute",
        "vpc:DescribeVSwitches",
        "vpc:DescribeVSwitchAttributes",
        "vpc:CreateVpc",
        "vpc:CreateVSwitch",
        "vpc:DescribeRouteTableList",
        "vpc:DescribeRouteEntryList",
        "vpc:CreateRouteEntry",
        "vpc:DeleteRouteEntry",
        "vpc:GetNatGatewayAttribute",
        "vpc:CreateForwardEntry",
        "vpc:DeleteForwardEntry",
        "vpc:DescribeForwardTableEntries",
        "vpc:DescribeEipAddresses",
        "vpc:CreateNatGateway",
        "vpc:DeleteNatGateway",
        "vpc:DescribeNatGateways",
        "vpc:AllocateEipAddress",
        "vpc:AssociateEipAddress",
        "vpc:UnassociateEipAddress",
        "vpc:ReleaseEipAddress",
        "vpc:CreateSnatEntry",
        "vpc:DeleteSnatEntry",
        "vpc:DescribeSnatTableEntries",
        "vpc:DescribeRouteTables",
        "vpc:DescribeRouterInterfaceAttribute",
        "vpc:DescribeRouterInterfaces",
        "vpc:DescribeVRouters",
        "vpc:ModifyBypassToaAttribute"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "cms:QueryMetricList"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "pvtz:AddZone",
        "pvtz:DescribeZones",
        "pvtz:DescribeZoneInfo",
        "pvtz:DeleteZone",
        "pvtz:AddZoneRecord",
        "pvtz:DeleteZoneRecord",
        "pvtz:DescribeZoneRecords",
        "pvtz:DescribeUserServiceStatus",
        "pvtz:BindZoneVpc",
        "pvtz:TagResources"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "nas:DescribeFileSystems",
        "nas:DescribeMountTargets",
        "nas:CreateMountTarget",
        "nas:ModifyMountTarget",
        "nas:DescribeProtocolMountTarget"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": [
        "cr:ListNamespace",
        "cr:ListRepository",
        "cr:GetAuthorizationToken",
        "cr:ListInstanceEndpoint",
        "cr:PullRepository",
        "cr:PushRepository",
        "cr:GetInstance",
        "cr:GetInstanceVpcEndpoint",
        "cr:ListInstance",
        "cr:ListInstanceDomain",
        "cr:GetRepository",
        "cr:GetRepositoryLayers",
        "cr:ListRepositoryTag",
        "cr:GetNamespace",
        "cr:GetRepoTag",
        "cr:CreateInstanceVpcEndpointLinkedVpc",
        "cr:GetInstanceEndpoint"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "dataworks:ListTagResources",
        "dataworks:TagResources",
        "dataworks:UntagResources",
        "dataworks:ChangeResourceManagerResourceGroup"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "odps:GetImage",
        "odps:AddImage",
        "odps:RemoveImage"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "oss:GetObject",
        "oss:PutObject",
        "oss:DeleteObject",
        "oss:ListParts",
        "oss:AbortMultipartUpload",
        "oss:ListObjects",
        "oss:ListBuckets",
        "oss:PutBucketCors",
        "oss:GetBucketCors",
        "oss:DeleteBucketCors",
        "oss:GetBucketInfo",
        "oss:ListBuckets"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "privatelink:CreateVpcEndpoint",
        "privatelink:ListVpcEndpoints",
        "privatelink:DeleteVpcEndpoint",
        "privatelink:RemoveZoneFromVpcEndpoint",
        "privatelink:ListVpcEndpointZones",
        "privatelink:GetVpcEndpointAttribute",
        "privatelink:ListVpcEndpointServiceResources",
        "privatelink:DetachResourceFromVpcEndpointService",
        "privatelink:OpenPrivateLinkService",
        "privatelink:CheckProductOpen",
        "privatelink:AddUserToVpcEndpointService",
        "privatelink:UpdateVpcEndpointAttribute",
        "privatelink:AddZoneToVpcEndpoint",
        "privatelink:AttachSecurityGroupToVpcEndpoint",
        "privatelink:DetachSecurityGroupFromVpcEndpoint",
        "privatelink:ListVpcEndpointSecurityGroups",
        "privatelink:TagResources",
        "privatelink:EnableVpcEndpointConnection",
        "privatelink:EnableVpcEndpointZoneConnection",
        "privatelink:DisableVpcEndpointConnection",
        "privatelink:DisableVpcEndpointZoneConnection",
        "privatelink:UpdateVpcEndpointZoneConnectionResourceAttribute",
        "privatelink:UpdateVpcEndpointConnectionAttribute",
        "privatelink:ListVpcEndpointConnections"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "dataworks.aliyuncs.com"
        }
      }
    },
    {
      "Action": [
        "slb:TagResources",
        "slb:UntagResources",
        "slb:ListTagResources",
        "slb:AddBackendServers",
        "slb:AddListenerWhiteListItem",
        "slb:AddTags",
        "slb:AddVServerGroupBackendServers",
        "slb:CreateLoadBalancer",
        "slb:CreateLoadBalancerHTTPListener",
        "slb:CreateLoadBalancerHTTPSListener",
        "slb:CreateLoadBalancerTCPListener",
        "slb:CreateLoadBalancerUDPListener",
        "slb:CreateRules",
        "slb:CreateVServerGroup",
        "slb:DeleteLoadBalancer",
        "slb:DeleteLoadBalancerListener",
        "slb:DeleteRules",
        "slb:DeleteVServerGroup",
        "slb:DescribeHealthStatus",
        "slb:DescribeListenerAccessControlAttribute",
        "slb:DescribeLoadBalancerAttribute",
        "slb:DescribeLoadBalancerHTTPListenerAttribute",
        "slb:DescribeLoadBalancerHTTPListenerAttributes",
        "slb:DescribeLoadBalancerHTTPSListenerAttribute",
        "slb:DescribeLoadBalancerTCPListenerAttribute",
        "slb:DescribeLoadBalancerUDPListenerAttribute",
        "slb:DescribeLoadBalancers",
        "slb:DescribeRegions",
        "slb:DescribeRules",
        "slb:DescribeTags",
        "slb:DescribeVServerGroupAttribute",
        "slb:DescribeVServerGroups",
        "slb:ModifyLoadBalancerInstanceSpec",
        "slb:ModifyLoadBalancerInternetSpec",
        "slb:ModifyLoadBalancerInstanceChargeType",
        "slb:ModifyLoadBalancerPayType",
        "slb:RemoveBackendServers",
        "slb:RemoveListenerWhiteListItem",
        "slb:RemoveVServerGroupBackendServers",
        "slb:SetBackendServers",
        "slb:SetListenerAccessControlStatus",
        "slb:SetLoadBalancerHTTPListenerAttribute",
        "slb:SetLoadBalancerHTTPSListenerAttribute",
        "slb:SetLoadBalancerName",
        "slb:SetLoadBalancerStatus",
        "slb:SetLoadBalancerTCPListenerAttribute",
        "slb:SetLoadBalancerUDPListenerAttribute",
        "slb:SetRule",
        "slb:SetServerCertificateName",
        "slb:SetVServerGroupAttribute",
        "slb:StartLoadBalancerListener",
        "slb:StopLoadBalancerListener",
        "slb:SetLoadBalancerDeleteProtection",
        "slb:RemoveTags",
        "slb:DescribeLoadBalancerListeners",
        "slb:ModifyVServerGroupBackendServers",
        "slb:SetLoadBalancerModificationProtection",
        "slb:CreateLoadBalancerForCloudService"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "privatelink.aliyuncs.com"
        }
      }
    },
    {
      "Action": "odps:ActOnBehalfOfAnotherUser",
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": [
            "eipaccess.slb.aliyuncs.com",
            "privatelink.aliyuncs.com"
          ]
        }
      }
    }
  ]
}

References