文档

AliyunServiceRolePolicyForPolarDB

更新时间:

AliyunServiceRolePolicyForPolarDB 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForPolarDB 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2020-03-15 21:25:17

  • 更新时间:2020-03-15 21:25:17

  • 当前版本:v1

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "pvtz:DescribeUserServiceStatus",
        "pvtz:DescribeZones",
        "pvtz:DescribeZoneInfo",
        "pvtz:DescribeZoneRecords",
        "pvtz:CheckZoneName",
        "pvtz:AddZone",
        "pvtz:BindZoneVpc",
        "pvtz:DeleteZone",
        "pvtz:AddZoneRecord",
        "pvtz:UpdateZoneRecord",
        "pvtz:DeleteZoneRecord",
        "dts:CreateDtsInstance",
        "dts:ConfigureDtsJob",
        "dts:StartDtsJob",
        "dts:DescribePreCheckStatus",
        "dts:DescribeDtsJobDetail",
        "dts:DescribeDtsJobs",
        "dts:ModifyDtsJob",
        "dts:SuspendDtsJob",
        "dts:StopDtsJob",
        "dts:DeleteDtsJob",
        "dts:CheckDefaultRole",
        "dts:ReverseTwoWayDirection",
        "dts:ModifyDtsJobEndpoint",
        "privatelink:ListVpcEndpointServicesByEndUser",
        "privatelink:CreateVpcEndpoint",
        "privatelink:ListVpcEndpoints",
        "privatelink:UpdateVpcEndpointAttribute",
        "privatelink:GetVpcEndpointAttribute",
        "privatelink:ListVpcEndpointSecurityGroups",
        "privatelink:AttachSecurityGroupToVpcEndpoint",
        "privatelink:DetachSecurityGroupFromVpcEndpoint",
        "privatelink:AddZoneToVpcEndpoint",
        "privatelink:RemoveZoneFromVpcEndpoint",
        "privatelink:ListVpcEndpointZones",
        "privatelink:DeleteVpcEndpoint",
        "ecs:DescribeSecurityGroups",
        "vpc:DescribeVSwitches",
        "vpc:DescribeVpcs",
        "dms:AddInstance",
        "dms:ListInstances",
        "dms:GetInstance"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "polardb.aliyuncs.com"
        }
      }
    }
  ]
}

相关文档