All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForAccImc

Last Updated:Jul 02, 2025

AliyunServiceRolePolicyForAccImc 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:06:49 on May 06, 2025

  • Update time: 07:05:03 on July 02, 2025

  • Current version: v2

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "cr:PullRepository",
        "cr:GetAuthorizationToken",
        "cr:GetRepositoryLayers",
        "cr:GetRepositoryManifest",
        "cr:GetRepositoryTag",
        "cr:GetRepository",
        "cr:ListInstance",
        "cr:ListInstanceEndpoint"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "vpc:DescribeVSwitches",
        "vpc:DescribeVSwitchAttributes",
        "vpc:DescribeVpcs",
        "vpc:AssociateEipAddress",
        "vpc:UnassociateEipAddress",
        "vpc:DescribeEipAddresses",
        "vpc:AllocateEipAddress",
        "vpc:ReleaseEipAddress",
        "vpc:AddCommonBandwidthPackageIp",
        "vpc:RemoveCommonBandwidthPackageIp",
        "vpc:TagResources",
        "vpc:CheckCanAllocateVpcPrivateIpAddress"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "ecs:CreateNetworkInterfacePermission",
        "ecs:DeleteNetworkInterfacePermission",
        "ecs:DescribeNetworkInterfacePermissions",
        "ecs:CreateNetworkInterface",
        "ecs:DescribeNetworkInterfaces",
        "ecs:AttachNetworkInterface",
        "ecs:DetachNetworkInterface",
        "ecs:DeleteNetworkInterface",
        "ecs:DescribeSecurityGroups",
        "ecs:TagResources"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "imc.acc.aliyuncs.com"
        }
      }
    }
  ]
}

References