All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForAlb

最終更新日:Oct 11, 2024

AliyunServiceRolePolicyForAlb 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: 13:07:15 on August 31, 2020

  • Update time: 03:01:11 on July 25, 2023

  • Current version: v17

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "ecs:CreateNetworkInterface",
        "ecs:DeleteNetworkInterface",
        "ecs:DescribeNetworkInterfaces",
        "ecs:CreateSecurityGroup",
        "ecs:DeleteSecurityGroup",
        "ecs:DescribeSecurityGroups",
        "ecs:AuthorizeSecurityGroup",
        "ecs:DescribeSecurityGroupAttribute",
        "ecs:AuthorizeSecurityGroupEgress",
        "ecs:RevokeSecurityGroup",
        "ecs:RevokeSecurityGroupEgress",
        "ecs:AttachNetworkInterface",
        "ecs:DetachNetworkInterface",
        "ecs:ModifyNetworkInterfaceAttribute",
        "eci:DescribeContainerGroups",
        "ecs:DescribeNetworkInterfaceAttribute",
        "vpc:RemoveCommonBandwidthPackageIp",
        "vpc:AddCommonBandwidthPackageIp",
        "vpc:DeleteCommonBandwidthPackage",
        "vpc:CreateCommonBandwidthPackage",
        "vpc:DescribeCommonBandwidthPackages",
        "vpc:ModifyCommonBandwidthPackageSpec",
        "vpc:ModifyCommonBandwidthPackageChargeType",
        "vpc:ReleaseEipAddress",
        "vpc:AllocateEipAddress",
        "vpc:AssociateEipAddress",
        "vpc:UnassociateEipAddress",
        "vpc:DescribeEipAddresses",
        "vpc:ModifyEipAddressAttribute",
        "vpc:DeleteIpv6InternetBandwidth",
        "vpc:AllocateIpv6InternetBandwidth",
        "vpc:ModifyIpv6AddressAttribute",
        "vpc:DescribeIpv6Addresses",
        "vpc:DescribeIpv6Gateways",
        "vpc:MoveResourceGroup",
        "vpc:TagResources",
        "cas:DescribeCACertificate",
        "yundun-waf:DescribeInstanceCompatible",
        "yundun-waf:CreateInstance",
        "eipanycast:AllocateAnycastEipAddress",
        "eipanycast:ModifyAnycastEipAddressAttribute",
        "eipanycast:ReleaseAnycastEipAddress",
        "eipanycast:AssociateAnycastEipAddress",
        "eipanycast:UnassociateAnycastEipAddress",
        "eipanycast:DescribeAnycastEipAddress",
        "eipanycast:ListAnycastEipAddresses"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "alb.aliyuncs.com"
        }
      }
    },
    {
      "Action": [
        "oss:GetBucketInfo",
        "oss:PutObject",
        "oss:GetObject",
        "oss:PutBucket",
        "oss:PutBucketVersioning",
        "oss:GetBucketVersioning",
        "oss:GetObjectVersion",
        "oss:PutBucketCors"
      ],
      "Effect": "Allow",
      "Resource": [
        "acs:oss:*:*:alb-res-backup-*",
        "acs:oss:*:*:alb-res-backup-*/*"
      ]
    },
    {
        "Effect": "Allow",
        "Action": "quotas:GetProductQuota",
        "Resource": "acs:quotas:*:*:*"
    }
  ]
}

References