AliyunOOSPrivateCloudDefaultRolePolicy is the authorization policy dedicated to a service role. In most cases, when a service role is created, the policy is attached to the service role. Then, the service role is authorized to access other cloud services. This policy is updated by the relevant Alibaba Cloud service. Do not attach this policy to a RAM identity other than a service role.
Policy details
Type: service system policy
Creation time: 10:41:23 on May 30, 2024
Update time: 10:41:23 on May 30, 2024
Current version: v1
Policy content
{
"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"
}
}
}
]
}