AliyunServiceRolePolicyForPolarDBPrivateLinkManage

更新时间:
复制 MD 格式

AliyunServiceRolePolicyForPolarDBPrivateLinkManage 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForPolarDBPrivateLinkManage 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2026-07-30 15:23:25

  • 更新时间:2026-11-05 23:25:38

  • 当前版本:v4

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "privatelink:ListVpcEndpointServicesByEndUser",
        "privatelink:CreateVpcEndpoint",
        "privatelink:ListVpcEndpoints",
        "privatelink:UpdateVpcEndpointAttribute",
        "privatelink:GetVpcEndpointAttribute",
        "privatelink:ListVpcEndpointSecurityGroups",
        "privatelink:AttachSecurityGroupToVpcEndpoint",
        "privatelink:DetachSecurityGroupFromVpcEndpoint",
        "privatelink:AddZoneToVpcEndpoint",
        "privatelink:RemoveZoneFromVpcEndpoint",
        "privatelink:ListVpcEndpointZones",
        "privatelink:DeleteVpcEndpoint",
        "privatelink:CheckProductOpen",
        "privatelink:ListVpcEndpointServicesByEndUser",
        "privatelink:TagResources",
        "privatelink:UntagResources",
        "privatelink:ListTagResources",
        "privatelink:ListVpcEndpointConnections",
        "privatelink:GetVpcEndpointService",
        "privatelink:ListVpcEndpointServiceUsers",
        "vpc:DescribeVpcs",
        "ecs:DescribeSecurityGroups",
        "vpc:DescribeVSwitches"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "vpc:DescribeHaVip*",
        "vpc:DescribeRouteTable*",
        "vpc:DescribeRouteEntry*",
        "vpc:DescribeVSwitch*",
        "vpc:DescribeVRouter*",
        "vpc:DescribeVpc*",
        "vpc:Describe*Cen*",
        "vpc:ListTag*",
        "vpc:DescribeTag*",
        "vpc:DescribeNetworkAcl*",
        "vpc:DescribeFlowLog*",
        "vpc:CheckCanAllocateVpcPrivateIpAddress",
        "vpc:ListIpv4Gateways",
        "vpc:GetIpv4GatewayAttribute",
        "vpc:ListDhcpOptionsSets",
        "vpc:GetDhcpOptionsSet"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "pvl.polardb.aliyuncs.com"
        }
      }
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "privatelink.aliyuncs.com"
        }
      }
    },
    {
      "Action": [
        "privatelink:ListVpcEndpointServices",
        "privatelink:GetVpcEndpointServiceAttribute",
        "privatelink:ListVpcEndpointServiceResources"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "nlb:ListLoadBalancers",
        "nlb:ListListeners",
        "nlb:GetLoadBalancerAttribute",
        "nlb:GetListenerAttribute",
        "nlb:ListTagResources",
        "nlb:ListServerGroupServers"
      ],
      "Resource": "*",
      "Effect": "Allow"
    }
  ]
}

相关文档