AliyunServiceRolePolicyForDcaasbmsEhub 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForDcaasbmsEhub 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。
策略详情
类型:系统策略
创建时间:2026-08-17 10:11:30
更新时间:2026-09-02 22:13:39
当前版本:v2
策略内容
{
"Version": "1",
"Statement": [
{
"Action": [
"ecs:RunInstances",
"ecs:StartInstance",
"ecs:StopInstance",
"ecs:ModifyInstanceSpec",
"ecs:ModifyInstanceDeployment",
"ecs:DescribeDeploymentSets",
"ecs:DescribeInstances",
"ecs:DescribeCloudAssistantStatus",
"ecs:DescribeAvailableResource",
"ecs:AllocatePublicIpAddress",
"ecs:DescribeInvocations",
"ecs:DescribeInvocationResults",
"ecs:DescribeImages",
"ecs:CreateImage",
"ecs:CopyImage",
"ecs:CancelCopyImage",
"ecs:DeleteImage",
"ecs:CreateSnapshot",
"ecs:DescribeSnapshots",
"ecs:DeleteSnapshot",
"ecs:CancelAutoSnapshotPolicy",
"ecs:CreateDisk",
"ecs:DescribeDisks",
"ecs:AttachDisk",
"ecs:DetachDisk",
"ecs:DeleteDisk",
"ecs:ResizeDisk",
"ecs:CreateNetworkInterface",
"ecs:DescribeNetworkInterfaces",
"ecs:AttachNetworkInterface",
"ecs:DetachNetworkInterface",
"ecs:DeleteNetworkInterface",
"ecs:CreateSecurityGroup",
"ecs:DescribeSecurityGroups",
"ecs:DescribeSecurityGroupAttribute",
"ecs:DeleteSecurityGroup",
"ecs:AuthorizeSecurityGroup",
"ecs:AuthorizeSecurityGroupEgress",
"ecs:RevokeSecurityGroup",
"ecs:RevokeSecurityGroupEgress",
"ecs:ModifySecurityGroupRule",
"ecs:ModifySecurityGroupEgressRule",
"ecs:CreatePrefixList",
"ecs:DescribePrefixLists",
"ecs:DescribePrefixListAssociations",
"ecs:DescribePrefixListAttributes",
"ecs:ModifyPrefixList",
"ecs:DeletePrefixList",
"ecs:CreatePortRangeList",
"ecs:DescribePortRangeLists",
"ecs:DescribePortRangeListEntries",
"ecs:DescribePortRangeListAssociations",
"ecs:ModifyPortRangeList",
"ecs:DeletePortRangeList",
"ecs:DescribeVSwitches"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"vpc:DescribeVSwitches",
"vpc:DescribeVpcs",
"vpc:CreateVpc",
"vpc:CreateVSwitch",
"vpc:DeleteVSwitch",
"vpc:DeleteVpc"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "ehub.dcaasbms.aliyuncs.com"
}
}
}
]
}相关文档
该文章对您有帮助吗?