AliyunServiceRolePolicyForRds

Updated at: 2025-01-13 12:10

AliyunServiceRolePolicyForRds 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: 12:01:47 on February 02, 2024

  • Update time: 12:09:07 on January 13, 2025

  • Current version: v11

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "ecs:CreateNetworkInterface",
        "ecs:DeleteNetworkInterface",
        "ecs:AttachNetworkInterface",
        "ecs:DetachNetworkInterface",
        "ecs:DescribeNetworkInterfaces",
        "ecs:CreateNetworkInterfacePermission",
        "ecs:DescribeNetworkInterfacePermissions",
        "ecs:ModifyNetworkInterfaceAttribute",
        "ecs:CreateSecurityGroup",
        "ecs:DeleteSecurityGroup",
        "ecs:DescribeSecurityGroupAttribute",
        "ecs:DescribeSecurityGroups",
        "ecs:ModifySecurityGroupAttribute",
        "ecs:AuthorizeSecurityGroup",
        "ecs:AuthorizeSecurityGroupEgress",
        "ecs:RevokeSecurityGroup",
        "ecs:RevokeSecurityGroupEgress",
        "ecs:DescribeKeyPairs",
        "ecs:ModifyImageSharePermission",
        "ecs:DescribeImages",
        "ecs:DescribeSnapshots"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "vpc:DescribeVSwitches",
        "vpc:AssociateEipAddress",
        "vpc:UnassociateEipAddress",
        "vpc:DescribeEipAddresses",
        "vpc:DescribeVpcs"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "cs:CreateClusterNodePool",
        "cs:DeleteClusterNodepool",
        "cs:DescribeClusterNodePoolDetail",
        "cs:DescribeTaskInfo",
        "cs:DescribeClustersV1",
        "cs:DescribeClusterDetail",
        "cs:DescribeClusterNodePools",
        "cs:DescribeClusterAttachScripts"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "resourcesharing:CreateResourceShare",
        "resourcesharing:ListResourceShareAssociations",
        "resourcesharing:DeleteResourceShare",
        "resourcesharing:ListResourceShares"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "rds-ecs-service.rds.aliyuncs.com"
        }
      }
    }
  ]
}

References

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