本文為您介紹DysmsLog服務關聯角色(AliyunServiceRoleForDysmsLog)的應用場景以及如何刪除服務關聯角色。
背景信息
DysmsLog服務關聯角色(AliyunServiceRoleForDysmsLog)是在某些情況下,為了完成DysmsLog自身的某個功能,需要獲取其他云服務的訪問權限,而提供的RAM角色。更多關于服務關聯角色的信息請參見服務關聯角色。
應用場景
DysmsLog將短信發送記錄寫入日志服務的功能需要訪問云服務的資源,我們通過服務關聯角色功能可以獲取相應的訪問權限。
AliyunServiceRoleForDysmsLog介紹
角色名稱:AliyunServiceRoleForDysmsLog
角色權限策略:AliyunServiceRolePolicyForDysmsLog
權限說明:
{
"Version": "1",
"Statement": [
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "log.dysms.aliyuncs.com"
}
}
},
{
"Action": "log:CreateProject",
"Resource": "acs:log:*:*:project/sms-log-*",
"Effect": "Allow"
},
{
"Action": "log:CreateLogStore",
"Resource": "acs:log:*:*:project/sms-log-*/logstore/*",
"Effect": "Allow"
},
{
"Action": [
"log:GetLogStore",
"log:UpdateLogStore",
"log:GetIndex",
"log:CreateIndex",
"log:UpdateIndex"
],
"Resource": "acs:log:*:*:project/sms-log-*/logstore/sms-log",
"Effect": "Allow"
},
{
"Action": [
"log:CreateDashboard",
"log:GetDashboard",
"log:UpdateDashboard"
],
"Resource": "acs:log:*:*:project/sms-log-*/dashboard/*",
"Effect": "Allow"
},
{
"Action": [
"log:CreateSavedSearch",
"log:UpdateSavedSearch"
],
"Resource": "acs:log:*:*:project/sms-log-*/savedsearch/*",
"Effect": "Allow"
},
{
"Action": [
"log:PostLogStoreLogs"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
刪除服務關聯角色
如果您需要刪除AliyunServiceRoleForDysmsLog(服務關聯角色),請參見刪除服務關聯角色。
文檔內容是否對您有幫助?