AliyunRDSDedicatedHostGroupRolePolicy

Updated at: 2024-04-01 07:54

AliyunRDSDedicatedHostGroupRolePolicy 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: 11:09:39 on January 21, 2020

  • Update time: 11:09:39 on January 21, 2020

  • 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:ListTagResources",
                "ecs:TagResources",
                "ecs:AddTags"
            ],
            "Resource": "*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "yundun-bastionhost:Describe*",
                "yundun-bastionhost:AttachHostsToUser*",
                "yundun-bastionhost:CreateHost*",
                "yundun-bastionhost:DeleteHost*",
                "yundun-bastionhost:ListHost*",
                "yundun-bastionhost:ListUsers*",
                "yundun-bastionhost:ModifyHostAccountsForUser*"
            ],
            "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": "*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "cs:DescribeClusters",
                "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
phone Contact Us