All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForMaxComputeOpenLake

Last Updated:Jul 30, 2024

AliyunServiceRolePolicyForMaxComputeOpenLake 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:07:11 on July 30, 2024

  • Update time: 12:07:11 on July 30, 2024

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
      "dlf:BatchCreatePartitions",
      "dlf:BatchCreateTables",
      "dlf:BatchDeletePartitions",
      "dlf:BatchDeleteTables",
      "dlf:BatchGetPartitions",
      "dlf:BatchGetTables",
      "dlf:BatchUpdatePartitions",
      "dlf:BatchUpdateTables",
      "dlf:CreateDatabase",
      "dlf:CreateFunction",
      "dlf:CreatePartition",
      "dlf:CreateTable",
      "dlf:DeleteDatabase",
      "dlf:DeleteFunction",
      "dlf:DeletePartition",
      "dlf:DeleteTable",
      "dlf:GetDatabase",
      "dlf:GetFunction",
      "dlf:GetPartition",
      "dlf:GetTable",
      "dlf:ListCatalogs",
      "dlf:ListDatabases",
      "dlf:ListFunctionNames",
      "dlf:ListFunctions",
      "dlf:ListPartitionNames",
      "dlf:ListPartitions",
      "dlf:ListPartitionsByExpr",
      "dlf:ListPartitionsByFilter",
      "dlf:ListTableNames",
      "dlf:ListTables",
      "dlf:RenamePartition",
      "dlf:RenameTable",
      "dlf:UpdateDatabase",
      "dlf:UpdateFunction",
      "dlf:UpdateTable",
      "dlf:UpdateTableColumnStatistics",
      "dlf:GetTableColumnStatistics",
      "dlf:DeleteTableColumnStatistics",
      "dlf:UpdatePartitionColumnStatistics",
      "dlf:GetPartitionColumnStatistics",
      "dlf:DeletePartitionColumnStatistics",
      "dlf:BatchGetPartitionColumnStatistics",
      "dlf:CreateLock",
      "dlf:UnLock",
      "dlf:AbortLock",
      "dlf:RefreshLock",
      "dlf:GetLock",
      "dlf:GetAsyncTaskStatus",
      "dlf:GetServiceInfo",
      "dlf:CreateCatalog",
      "dlf:GetCatalog"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "openlake.odps.aliyuncs.com"
        }
      }
    }
  ]
}

References