AliyunServiceRolePolicyForAgenthub

更新时间:
复制 MD 格式

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

策略详情

  • 类型:系统策略

  • 创建时间:2026-08-11 13:49:49

  • 更新时间:2026-09-11 15:26:09

  • 当前版本:v3

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "cs:CreateCluster",
        "cs:DeleteCluster",
        "cs:DescribeClusterDetail",
        "cs:DescribeClustersV1",
        "cs:DescribeClusterNodes",
        "cs:DescribeClusterNodePools",
        "cs:CreateClusterNodePool",
        "cs:ModifyClusterNodePool",
        "cs:ScaleClusterNodePool",
        "cs:DeleteClusterNodepool",
        "cs:DescribeClusterResources",
        "cs:DescribeClusterLogs",
        "cs:DescribeClusterAddonsVersion",
        "cs:InstallClusterAddons",
        "cs:ModifyCluster",
        "cs:DescribeClusterUserKubeconfig",
        "cs:DescribeTaskInfo"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ecs:RunInstances",
        "ecs:DeleteInstance",
        "ecs:DescribeInstances",
        "ecs:CreateSecurityGroup",
        "ecs:DeleteSecurityGroup",
        "ecs:AuthorizeSecurityGroup",
        "ecs:DescribeSecurityGroups",
        "ecs:CreateDisk",
        "ecs:DeleteDisk",
        "ecs:DescribeDisks",
        "ecs:DescribeNetworkInterfaces"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "vpc:CreateVpc",
        "vpc:DeleteVpc",
        "vpc:DescribeVpcs",
        "vpc:CreateVSwitch",
        "vpc:DeleteVSwitch",
        "vpc:DescribeVSwitches",
        "vpc:CreateNatGateway",
        "vpc:DeleteNatGateway",
        "vpc:DescribeNatGateways",
        "vpc:AllocateEipAddress",
        "vpc:ReleaseEipAddress"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "slb:CreateLoadBalancer",
        "slb:DeleteLoadBalancer",
        "slb:DescribeLoadBalancers",
        "slb:SetLoadBalancerStatus",
        "slb:CreateLoadBalancerHTTPSListener",
        "slb:CreateLoadBalancerTCPListener"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "oss:PutBucket",
        "oss:GetBucketInfo",
        "oss:GetBucketLocation",
        "oss:ListBuckets",
        "oss:DeleteBucket",
        "oss:PutBucketTagging",
        "oss:GetBucketTagging",
        "oss:PutBucketPolicy",
        "oss:GetBucketPolicy",
        "oss:PutObject",
        "oss:GetObject",
        "oss:DeleteObject",
        "oss:ListObjects",
        "oss:ListObjectVersions",
        "oss:AbortMultipartUpload",
        "oss:ListMultipartUploads",
        "oss:ListParts"
      ],
      "Resource": "acs:oss:*:*:agenthub-*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "yundun-greenweb:TextModeration",
        "yundun-greenweb:TextModerationPlus"
      ],
      "Resource": "*"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "hub.sss.aliyuncs.com"
        }
      }
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "eipaccess.slb.aliyuncs.com"
        }
      }
    },
      {
    "Effect": "Allow",
    "Action": [
      "dataworks:GetTable"
    ],
    "Resource": "*"
  }
  ]
}

相关文档