AliyunServiceRolePolicyForMaxComputeLakehouse 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForMaxComputeLakehouse 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。
策略详情
类型:系统策略
创建时间:2024-09-03 18:22:48
更新时间:2024-09-03 18:22:48
当前版本:v1
策略内容
{
"Version": "1",
"Statement": [
{
"Action": [
"dlf:BatchCreatePartitions",
"dlf:BatchCreateTables",
"dlf:BatchDeletePartitions",
"dlf:BatchDeleteTables",
"dlf:BatchGetPartitions",
"dlf:BatchGetTables",
"dlf:BatchUpdatePartitions",
"dlf:BatchUpdateTables",
"dlf:CreateCatalog",
"dlf:CreateDatabase",
"dlf:CreateFunction",
"dlf:CreatePartition",
"dlf:CreateTable",
"dlf:DeleteCatalog",
"dlf:DeleteDatabase",
"dlf:DeleteFunction",
"dlf:DeletePartition",
"dlf:DeleteTable",
"dlf:GetAsyncTaskStatus",
"dlf:GetCatalog",
"dlf:GetCatalogAccessInfo",
"dlf:GetCatalogByInstanceId",
"dlf:GetCatalogSettings",
"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:UpdateCatalog",
"dlf:UpdateDatabase",
"dlf:UpdateFunction",
"dlf:UpdateTable",
"dlf:BatchGetPartitionColumnStatistics",
"dlf:DeletePartitionColumnStatistics",
"dlf:DeleteTableColumnStatistics",
"dlf:GetPartitionColumnStatistics",
"dlf:GetTableColumnStatistics",
"dlf:UpdateTableColumnStatistics",
"dlf:UpdatePartitionColumnStatistics",
"dlf:CreateLock",
"dlf:UnLock",
"dlf:AbortLock",
"dlf:RefreshLock",
"dlf:GetLock"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "lakehouse.odps.aliyuncs.com"
}
}
},
{
"Action": [
"dlf-auth:ActOnBehalfOfAnotherUser"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"dlf:GetCatalogAccessInfo",
"dlf:GetDataToken",
"dlf:GetDataTokenByName"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"dlf:GrantPermissions",
"dlf:RevokePermissions",
"dlf:BatchGrantPermissions",
"dlf:BatchRevokePermissions",
"dlf:UpdatePermissions",
"dlf:ListPermissions"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"dlf:CreateRole",
"dlf:UpdateRole",
"dlf:DeleteRole",
"dlf:GetRole",
"dlf:ListRoles",
"dlf:GrantRolesToUser",
"dlf:RevokeRolesFromUser",
"dlf:GrantRoleToUsers",
"dlf:RevokeRoleFromUsers",
"dlf:UpdateRoleUsers",
"dlf:ListRoleUsers",
"dlf:ListUserRoles",
"dlf:GrantRolesToPrincipal",
"dlf:RevokeRolesFromPrincipal",
"dlf:GrantRoleToPrincipals",
"dlf:RevokeRoleFromPrincipals",
"dlf:UpdateRolePrincipals",
"dlf:BatchDeleteRoles"
],
"Resource": "*",
"Effect": "Allow"
},{
"Action": [
"dlf:CheckPermissions"
],
"Resource": "*",
"Effect": "Allow"
},{
"Action": [
"dlf:GetCatalogStorageStatistics",
"dlf:GetCatalogStorageIndicatorDetails",
"dlf:GetCatalogStorageRank",
"dlf:GetCatalogStorageAnalysis",
"dlf:GetDatabaseProfile",
"dlf:GetDatabaseStorageAnalysis",
"dlf:GetTableProfile",
"dlf:GetTableStorageAnalysis",
"dlf:ListPartitionProfiles",
"dlf:getLatestStorageStatisticsDate"
],
"Resource": "*",
"Effect": "Allow"
},{
"Action": [
"dlf:SubscribeOptimize",
"dlf:GetOptimizeRegionStatus",
"dlf:GetOptimizeWorkspaceAuthorization",
"dlf:AddOptimizeWorkspace",
"dlf:ListOptimizeWorkspaces",
"dlf:PreCheckOptimizeWorkspaceConnection",
"dlf:CheckOptimizeWorkspaceConnection",
"dlf:DeleteOptimizeWorkspace",
"dlf:SetOptimizeEnable",
"dlf:SetOptimizePolicy",
"dlf:GetOptimizePolicy",
"dlf:AddOptimizeScheduleRule",
"dlf:ListOptimizeScheduleRules",
"dlf:DeleteOptimizeScheduleRule",
"dlf:RunOptimizeImmediately",
"dlf:GetOptimizeInfo",
"dlf:UpdateOptimizeTaskResult"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
相关文档
文档内容是否对您有帮助?