文档

AliyunServiceRolePolicyForNis

更新时间:

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

策略详情

  • 类型:系统策略

  • 创建时间:2021-10-08 11:11:45

  • 更新时间:2023-04-27 03:54:59

  • 当前版本:v7

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "ecs:InvokeCommand",
        "ecs:StopInvocation",
        "ecs:DescribeCloudAssistantStatus",
        "ecs:DescribeCommands",
        "ecs:DescribeInvocations",
        "ecs:DescribeInvocationResults"
      ],
      "Resource": [
        "acs:ecs:*:*:instance/*",
        "acs:ecs:*:*:command/cmd-ACS-SLB-Diagnosis*"
      ],
      "Effect": "Allow"
    },
    {
      "Action": [
        "dts:DescribeDtsJobs",
        "vpc:UpgradeVpnGatewayFirmware",
        "quotas:ListProductQuotas",
        "cms:DescribeMetricLast",
        "bssapi:QueryAvailableInstances",
        "ecs:DescribeInstances",
        "ecs:DescribeSecurityGroups",
        "ecs:DescribeSecurityGroupAttribute",
        "ecs:DescribeSecurityGroupReferences",
        "alb:ListLoadBalancers",
        "alb:GetLoadBalancerAttribute",
        "slb:Describe*",
        "nlb:ListLoadBalancers",
        "nlb:GetListenerAttribute",
        "nlb:ListServerGroups",
        "nlb:ListServerGroupServers",
        "nlb:ListListeners",
        "vpc:Describe*",
        "vpc:List*",
        "vpc:Get*",
        "vpc:CreateFlowlog",
        "vpc:DeleteFlowLog",
        "vpc:UpgradeVpnGatewayFirmware",
        "vpc:DiagnoseVpnConnectionsHistory",
        "cen:Describe*",
        "cen:List*",
        "cen:CreateFlowlog",
        "cen:DeleteFlowlog",
        "privatelink:List*",
        "privatelink:Get*",
        "ga:Describe*",
        "ga:List*",
        "ga:Get*",
        "ga:Check*",
        "ga:Query*"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "nis.aliyuncs.com"
        }
      }
    }
  ]
}

相关文档

  • 本页导读 (1)
文档反馈