AliyunEMRSparkJobRunDefaultRolePolicy 是專用于服務角色的授權策略,通常會在創建對應的服務角色時同步完成授權,以允許服務角色代您訪問其他云服務。本策略由對應的阿里云服務按需更新,請勿將本策略授權給服務角色之外的 RAM 身份使用。
策略詳情
類型:系統策略
創建時間:2024-09-14 10:34:50
更新時間:2024-09-14 10:34:50
當前版本:v1
策略內容
{
"Version": "1",
"Statement": [
{
"Action": [
"oss:ListBuckets",
"oss:PutObject",
"oss:ListObjectsV2",
"oss:ListObjects",
"oss:GetObject",
"oss:CopyObject",
"oss:DeleteObject",
"oss:DeleteObjects",
"oss:RestoreObject",
"oss:CompleteMultipartUpload",
"oss:ListMultipartUploads",
"oss:AbortMultipartUpload",
"oss:UploadPartCopy",
"oss:UploadPart",
"oss:GetBucketInfo",
"oss:PostDataLakeStorageFileOperation",
"oss:PostDataLakeStorageAdminOperation",
"oss:GetBucketVersions",
"oss:ListObjectVersions",
"oss:DeleteObjectVersion"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"dlf:ListCatalogs",
"dlf:ListDatabases",
"dlf:ListFunctions",
"dlf:ListFunctionNames",
"dlf:ListTables",
"dlf:ListTableNames",
"dlf:CreateDatabase",
"dlf:GetDatabase",
"dlf:DeleteDatabase",
"dlf:GetTable",
"dlf:GetFunction",
"dlf:CreateTable",
"dlf:UpdateTable",
"dlf:DeleteTable",
"dlf:ListPartitions",
"dlf:ListPartitionNames",
"dlf:GetPartition",
"dlf:CreatePartition",
"dlf:BatchCreatePartitions",
"dlf:UpdateTableColumnStatistics",
"dlf:GetTableColumnStatistics",
"dlf:DeleteTableColumnStatistics",
"dlf:UpdatePartitionColumnStatistics",
"dlf:GetPartitionColumnStatistics",
"dlf:DeletePartitionColumnStatistics",
"dlf:UpdateDatabase",
"dlf:BatchCreateTables",
"dlf:BatchDeleteTables",
"dlf:BatchUpdateTables",
"dlf:BatchGetTables",
"dlf:BatchUpdatePartitions",
"dlf:BatchDeletePartitions",
"dlf:BatchGetPartitions",
"dlf:DeletePartition",
"dlf:CreateFunction",
"dlf:DeleteFunction",
"dlf:UpdateFunction",
"dlf:ListPartitionsByFilter",
"dlf:DeltaGetPermissions",
"dlf:GetPermissions",
"dlf:GetServiceInfo",
"dlf:GetRoles",
"dlf:GetCatalog",
"dlf:GetCatalogSettings",
"dlf:UpdateCatalogSettings",
"dlf:CreateLock",
"dlf:UnLock",
"dlf:AbortLock",
"dlf:RefreshLock",
"dlf:GetLock",
"dlf:ListTableVersions",
"dlf:CheckPermissions",
"dlf:GetAsyncTaskStatus",
"dlf:GetCatalogAccessInfo",
"dlf:GetDataToken",
"dlf:GetDataTokenByName",
"dlf:RenameTable"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"dlf-dss:CreateDatabase",
"dlf-dss:CreateFunction",
"dlf-dss:CreateTable",
"dlf-dss:DropDatabase",
"dlf-dss:DropFunction",
"dlf-dss:DropTable",
"dlf-dss:DescribeCatalog",
"dlf-dss:DescribeDatabase",
"dlf-dss:DescribeFunction",
"dlf-dss:DescribeTable",
"dlf-dss:AlterDatabase",
"dlf-dss:AlterFunction",
"dlf-dss:AlterTable",
"dlf-dss:ListCatalogs",
"dlf-dss:ListDatabases",
"dlf-dss:ListTables",
"dlf-dss:ListFunctions",
"dlf-dss:CheckPermissions"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Effect": "Allow",
"Action": "odps:ActOnBehalfOfAnotherUser",
"Resource": [
"acs:odps:*:*:users/default/aliyun/*",
"acs:odps:*:*:users/default/ramuser/*",
"acs:odps:*:*:users/default/ramrole/*"
]
}
]
}
相關文檔
文檔內容是否對您有幫助?