AliyunServiceRolePolicyForMyBaseOnEcs

Updated at: 2024-03-12 06:50

AliyunServiceRolePolicyForMyBaseOnEcs 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: 14:49:18 on March 12, 2024

  • Update time: 14:49:18 on March 12, 2024

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ecs:CreateInstance",
        "ecs:CreateOrder",
        "ecs:RunInstances",
        "ecs:DescribeRegions",
        "ecs:DescribeZones",
        "ecs:DescribeImages",
        "ecs:DescribeInstances",
        "ecs:DescribeDisks",
        "ecs:DescribeInstanceHistoryEvents",
        "ecs:DescribeInstancesFullStatus",
        "ecs:DescribeDisksFullStatus",
        "ecs:DescribeResourcesModification",
        "ecs:DescribeAvailableResource",
        "ecs:DescribeBandwidthLimitation",
        "ecs:DescribeKeyPairs",
        "ecs:DescribePrice",
        "ecs:DescribeInstanceHistoryEvents",
        "ecs:DescribeTasks",
        "ecs:ListTagResources",
        "ecs:TagResources",
        "ecs:AddTags"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ecs:RenewInstance",
        "ecs:StartInstance",
        "ecs:StartInstances",
        "ecs:RebootInstances",
        "ecs:StopInstance",
        "ecs:StopInstances",
        "ecs:RedeployInstance",
        "ecs:RebootInstance",
        "ecs:DeleteInstance",
        "ecs:DeleteInstances",
        "ecs:ModifyInstanceChargeType",
        "ecs:ModifyPrepayInstanceSpec",
        "ecs:JoinResourceGroup",
        "ecs:AcceptInquiredSystemEvent",
        "ecs:ReportInstancesStatus",
        "ecs:ModifyInstanceAttribute",
        "ecs:UntagResources",
        "ecs:InstallCloudAssistant",
        "ecs:DescribeCloudAssistantStatus",
        "ecs:RunCommand",
        "ecs:DescribeInvocationResults"
      ],
      "Resource": "acs:ecs:*:*:*",
      "Condition": {
        "StringLike": {
          "ecs:tag/acs:rds:mybaseOnEcs": "mybase-onEcs"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "vpc:DescribeVSwitches",
        "vpc:DescribeVpcs"
      ],
      "Resource": "*"
    },
    {
      "Action": "resourcemanager:ListResourceGroups",
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "mybase-on-ecs.rds.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