AliyunCCManagedApigRolePolicy

AliyunCCManagedApigRolePolicy 是专用于服务角色的授权策略,通常会在创建对应的服务角色时同步完成授权,以允许服务角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2025-09-08 09:54:16

  • 更新时间:2025-09-08 09:54:16

  • 当前版本:v1

策略内容

{
  "Statement": [
    {
      "Action": [
        "apig:CreateGateway",
        "apig:GetGateway",
        "apig:DeleteGateway",
        "apig:CreateSource",
        "apig:DeleteSource",
        "apig:UpdateServiceSource",
        "apig:ListSources",
        "apig:ListGlobalPolicies",
        "apig:CreateAndAttachPolicy",
        "apig:UpdateAndAttachPolicy",
        "apig:ListGatewayFeatures",
        "apig:UpdateGatewayFeature",
        "apig:ListTagResources",
        "apig:TagResources",
        "apig:UntagResources",
        "apig:ListK8sClusterSources",
        "apig:ListEnvironments",
        "apig:GetEnvironment",
        "apig:ListGateways",
        "apig:CreateHttpApi",
        "apig:DeployHttpApi",
        "apig:ListHttpApis",
        "apig:GetHttpApi",
        "apig:UpdateHttpApi",
        "apig:UndeployHttpApi",
        "apig:DeleteHttpApi",
        "apig:DetachAndDeletePolicy"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "vpc:DescribeVSwitches",
      "Resource": "acs:vpc:*:*:*/*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "log:CloseProductDataCollection",
        "log:OpenProductDataCollection",
        "log:GetProductDataCollection"
      ],
      "Resource": [
        "acs:apig:*:*:gateway/*",
        "acs:log:*:*:project/*/logstore/apig_*"
      ],
      "Effect": "Allow"
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": [
            "audit.log.aliyuncs.com"
          ]
        }
      },
      "Effect": "Allow"
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "middlewarelens.log.aliyuncs.com"
        }
      }
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": [
            "securitylens.log.aliyuncs.com",
            "ai-lens.log.aliyuncs.com",
            "storagelens.log.aliyuncs.com"
          ]
        }
      }
    }
  ],
  "Version": "1"
}

相关文档