AliyunServiceRolePolicyForSFMModelDeveloper 是專用于服務關聯角色的授權策略,會在創建服務關聯角色 AliyunServiceRoleForSFMModelDeveloper 時自動授權,以允許服務關聯角色代您訪問其他云服務。本策略由對應的阿里云服務按需更新,請勿將本策略授權給服務關聯角色之外的 RAM 身份使用。
策略詳情
類型:系統策略
創建時間:2024-01-04 17:47:19
更新時間:2024-01-04 17:47:19
當前版本:v1
策略內容
{
"Version": "1",
"Statement": [
{
"Action": [
"ecs:CreateNetworkInterface",
"ecs:DeleteNetworkInterface",
"ecs:DescribeNetworkInterfaces",
"ecs:CreateNetworkInterfacePermission",
"ecs:DescribeNetworkInterfacePermissions",
"ecs:DeleteNetworkInterfacePermission",
"ecs:DescribeSecurityGroups",
"ecs:AttachNetworkInterface",
"ecs:DetachNetworkInterface"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"vpc:DescribeVSwitchAttributes",
"vpc:DescribeVpcs",
"vpc:DescribeVSwitches",
"vpc:DescribeVpcAttribute"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Effect": "Allow",
"Action": [
"cr:GetAuthorizationToken",
"cr:CreateRepository",
"cr:PullRepository",
"cr:PushRepository",
"cr:ListInstance",
"cr:GetRepository",
"cr:ListRepository",
"cr:ListRepositoryTag"
],
"Resource": "*"
},
{
"Action": [
"oss:ListBuckets"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"oss:GetObject",
"oss:PutObject",
"oss:DeleteObject"
],
"Resource": "acs:oss:*:*:*/sfm/*",
"Effect": "Allow"
},
{
"Action": "oss:ListObjects",
"Effect": "Allow",
"Resource": "acs:oss:*:*:*",
"Condition": {
"StringLike": {
"oss:Prefix": [
"sfm/*"
]
}
}
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "model-developer.sfm.aliyuncs.com"
}
}
}
]
}
相關文檔
文檔內容是否對您有幫助?