AliyunOOSPrivateCloudDefaultRolePolicy 是專用于服務角色的授權策略,通常會在創建對應的服務角色時同步完成授權,以允許服務角色代您訪問其他云服務。本策略由對應的阿里云服務按需更新,請勿將本策略授權給服務角色之外的 RAM 身份使用。
策略詳情
類型:系統策略
創建時間:2024-05-30 10:41:23
更新時間:2024-05-30 10:41:23
當前版本:v1
策略內容
{
"Version": "1",
"Statement": [
{
"Action": [
"oos:CreateTemplate",
"oos:StartExecution",
"oos:CancelExecution",
"oos:ListExecutions",
"oos:ListTaskExecutions",
"oos:ListExecutionLogs",
"oos:DeleteTemplate"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"ecs:DescribeAvailableResource",
"ecs:DescribeInstances",
"ecs:DescribeCloudAssistantStatus",
"ecs:DescribeImages",
"ecs:DescribeInvocations",
"ecs:DescribeInvocationResults",
"ecs:CreateSecurityGroup",
"ecs:DescribeSecurityGroups",
"ecs:CancelCopyImage",
"ecs:RunInstances",
"ecs:CopyImage",
"ecs:DeleteSnapshot"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"ecs:RebootInstance",
"ecs:DeleteInstance",
"ecs:DeleteImage",
"ecs:DescribeImageSharePermission",
"ecs:DeleteSecurityGroup",
"ecs:ModifyImageSharePermission",
"ecs:InstallCloudAssistant",
"ecs:RunCommand",
"ecs:StopInstance",
"ecs:CreateImage"
],
"Effect": "Allow",
"Resource": "*",
"Condition": {
"StringLike": {
"ecs:tag/imagepipelineid": "*"
}
}
},
{
"Action": [
"vpc:DescribeVSwitches",
"vpc:DescribeVpcs",
"vpc:CreateVpc",
"vpc:CreateVSwitch",
"vpc:DeleteVSwitch",
"vpc:DeleteVpc"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Effect": "Allow",
"Resource": "*",
"Condition": {
"StringEquals": {
"ram:ServiceName": "ecs.aliyuncs.com"
}
}
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "systemeventoperator.oos.aliyuncs.com"
}
}
}
]
}
相關文檔
文檔內容是否對您有幫助?