AliyunServiceRolePolicyForSFMSandbox é a política de autorização dedicada a uma função vinculada a service. O sistema anexa essa política automaticamente à função de service durante a criação. Assim, a função vinculada a service obtém autorização para acessar outros services em nuvem. O service relevante da Alibaba Cloud atualize esta política. Não anexe esta política a nenhuma identidade RAM que não seja uma função vinculada a service.
Detalhes da política
Tipo: política de sistema de service
Data de criação: 13 de agosto de 2026, às 17:30:25
Última atualização: 25 de agosto de 2026, às 17:26:54
Versão atual: v5
Conteúdo da política
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"fcsandbox:CreateCustomDomain",
"fcsandbox:UpdateCustomDomain",
"fcsandbox:DeleteCustomDomain",
"fcsandbox:GetCustomDomain",
"fcsandbox:ListCustomDomains",
"fcsandbox:DescribeSandbox",
"fcsandbox:ListSandboxes",
"fcsandbox:CreateTeam",
"fcsandbox:UpdateTeam",
"fcsandbox:DeleteTeam",
"fcsandbox:GetTeam",
"fcsandbox:ListTeams",
"fcsandbox:CreateApiKey",
"fcsandbox:UpdateApiKey",
"fcsandbox:ResetApiKey",
"fcsandbox:DeleteApiKey",
"fcsandbox:DescribeApiKey",
"fcsandbox:GetApiKey",
"fcsandbox:ListApiKeys",
"fcsandbox:UpdateQuota",
"fcsandbox:DeleteQuota",
"fcsandbox:DescribeQuota",
"fcsandbox:ListQuota",
"fcsandbox:UpdateTemplate",
"fcsandbox:DescribeTemplate",
"fcsandbox:ListTemplates"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"log:GetLogStoreLogs",
"log:GetLogStoreHistogram",
"log:GetLogStore",
"log:CreateLogStore",
"log:DeleteLogStore",
"log:CreateProject",
"log:DeleteProject",
"log:GetProject",
"log:CreateIndex",
"log:GetIndex"
],
"Resource": "acs:log:*:*:project/*"
},
{
"Effect": "Allow",
"Action": [
"cms:GetCmsService",
"cms:OpenCmsService",
"cms:ListPrometheusVirtualInstances",
"cms:CreatePrometheusVirtualInstance",
"cms:QueryMetricList",
"log:EnableService",
"arms:OpenArmsService"
],
"Resource": "*"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "sandbox.sfm.aliyuncs.com"
}
}
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "fc.aliyuncs.com"
}
}
}
]
}