AliyunServiceRolePolicyForNis

Updated at: 2025-03-20 01:46

AliyunServiceRolePolicyForNis 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: 11:11:45 on October 08, 2021

  • Update time: 01:45:43 on March 20, 2025

  • Current version: v15

Policy content

{
  "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",
        "ecs:DescribeNetworkInterfaces",
        "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",
        "vpc:ModifyFlowLogAttribute",
        "cen:Describe*",
        "cen:List*",
        "cen:CreateFlowlog",
        "cen:DeleteFlowlog",
        "privatelink:List*",
        "privatelink:Get*",
        "ga:Describe*",
        "ga:List*",
        "ga:Get*",
        "ga:Check*",
        "ga:Query*",
        "expressconnectrouter:Describe*",
        "expressconnectrouter:List*"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "nis.aliyuncs.com"
        }
      }
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "flowlog.cen.aliyuncs.com"
        }
      }
    }
  ]
}

References

  • On this page (1)
  • Policy details
  • Policy content
  • References
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare