AliyunMyBaseCPaaSDefaultRolePolicy

Updated at: 2024-07-24 06:19

AliyunMyBaseCPaaSDefaultRolePolicy is the authorization policy dedicated to a service role. In most cases, when a service role is created, the policy is attached to the service role. Then, the service 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 role.

Policy details

  • Type: service system policy

  • Creation time: 21:04:22 on April 09, 2024

  • Update time: 21:04:22 on April 09, 2024

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ecs:CreateNetworkInterface",
        "ecs:DeleteNetworkInterface",
        "ecs:AttachNetworkInterface",
        "ecs:DetachNetworkInterface",
        "ecs:DescribeNetworkInterfaces",
        "ecs:CreateNetworkInterfacePermission",
        "ecs:DescribeNetworkInterfacePermissions",
        "ecs:CreateSecurityGroup",
        "ecs:DeleteSecurityGroup",
        "ecs:DescribeSecurityGroupAttribute",
        "ecs:DescribeSecurityGroups",
        "ecs:ModifySecurityGroupAttribute",
        "ecs:AuthorizeSecurityGroup",
        "ecs:AuthorizeSecurityGroupEgress",
        "ecs:RevokeSecurityGroup",
        "ecs:RevokeSecurityGroupEgress",
        "ecs:AssignIpv6Addresses",
        "ecs:UnAssignIpv6Addresses",
        "ecs:ModifyNetworkInterfaceAttribute",
        "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:DescribeSnapshots",
        "ecs:ListTagResources",
        "ecs:TagResources",
        "ecs:AddTags",
        "ecs:ResizeDisk",
        "ecs:CreateSnapshot",
        "ecs:DeleteSnapshot"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ecs:RenewInstance",
        "ecs:StartInstance",
        "ecs:StartInstances",
        "ecs:RebootInstances",
        "ecs:StopInstance",
        "ecs:StopInstances",
        "ecs:RedeployInstance",
        "ecs:RebootInstance",
        "ecs:DeleteInstances",
        "ecs:ModifyInstanceChargeType",
        "ecs:ModifyPrepayInstanceSpec",
        "ecs:ModifyInstanceNetworkSpec",
        "ecs:JoinResourceGroup",
        "ecs:AcceptInquiredSystemEvent",
        "ecs:ReportInstancesStatus",
        "ecs:ModifyInstanceAttribute",
        "ecs:UntagResources",
        "ecs:InstallCloudAssistant",
        "ecs:DescribeCloudAssistantStatus",
        "ecs:RunCommand",
        "ecs:DescribeInvocationResults",
        "ecs:DeleteInstance"
      ],
      "Resource": "acs:ecs:*:*:*",
      "Condition": {
        "StringLike": {
          "ecs:tag/acs:rds:mybaseOnEcs": [
            "mybase-onEcs*"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "vpc:DescribeVSwitches",
        "vpc:DescribeVpcs"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cs:DescribeClusters",
        "cs:DescribeClusterNodes",
        "cs:DescribeClusterNodePools",
        "cs:DescribeClusterNodePoolDetail",
        "cs:DescribeAddons",
        "cs:DescribeAddon",
        "cs:DescribeClusterEvents",
        "cs:GetClusters",
        "cs:GetUserPermissions",
        "cs:ListTagResources",
        "cs:DescribeClusterResources",
        "cs:ListClusterAddonInstances",
        "cs:ListAddons",
        "cs:DescribeClusterInnerServiceKubeconfig"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "slb:DescribeLoadBalancerAttribute",
        "slb:DescribeLoadBalancerListeners",
        "slb:DescribeLoadBalancers",
        "slb:DescribeLoadBalancerHTTPSListenerAttribute"
      ],
      "Resource": "*"
    }
  ]
}

References

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