AliyunServiceRolePolicyForACSSandbox 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForACSSandbox 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。
策略详情
类型:系统策略
创建时间:2026-10-15 18:42:04
更新时间:2026-10-29 11:34:37
当前版本:v4
策略内容
{
"Statement": [
{
"Action": [
"acc:DescribeZones",
"acc:DescribeCommodityStatus"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": "alb:ListLoadBalancers",
"Effect": "Allow",
"Resource": "*"
},
{
"Action": "bss:DescribePrice",
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"cms:GetServiceObservability",
"cms:ListWorkspaces"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"cs:CreateCluster",
"cs:CreateEdasClusterRole",
"cs:CreateEdasClusterRoleBinding",
"cs:DeleteCluster",
"cs:DescribeClusterAddonsUpgradeStatus",
"cs:DescribeClusterAddonsVersion",
"cs:DescribeClusterDetail",
"cs:DescribeClusterEndpoints",
"cs:DescribeClusterNodePools",
"cs:DescribeClusterResources",
"cs:DescribeClusterUserKubeconfig",
"cs:DescribeClustersV1",
"cs:DescribeEdasClusterToken",
"cs:DescribeKubernetesVersionMetadata",
"cs:DescribePatternTypes",
"cs:DescribeUserPermission",
"cs:GetClusterCheck",
"cs:GetClusters",
"cs:InstallClusterAddons",
"cs:ListClusterAddonInstances",
"cs:ModifyCluster",
"cs:ModifyClusterAddon",
"cs:ModifyClusterNodePool",
"cs:RunClusterCheck",
"cs:TagResources",
"cs:UnInstallClusterAddons",
"cs:UntagResources",
"cs:UpdateControlPlaneLog",
"cs:DescribeUserPermission",
"cs:UpdateUserPermissions",
"cs:GrantPermissions",
"cs:UpgradeCluster"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"ecs:AddTags",
"ecs:AllocatePublicIpAddress",
"ecs:AuthorizeSecurityGroup",
"ecs:AuthorizeSecurityGroupEgress",
"ecs:ConfigureSecurityGroupPermissions",
"ecs:CreateInstance",
"ecs:CreateSecurityGroup",
"ecs:DeleteInstance",
"ecs:DeleteSecurityGroup",
"ecs:DescribeAvailableResource",
"ecs:DescribeDedicatedHosts",
"ecs:DescribeDisks",
"ecs:DescribeImages",
"ecs:DescribeInstanceAutoRenewAttribute",
"ecs:DescribeInstanceRamRole",
"ecs:DescribeInstances",
"ecs:DescribeKeyPairs",
"ecs:DescribeNetworkInterfaces",
"ecs:DescribePrice",
"ecs:DescribeSecurityGroupAttribute",
"ecs:DescribeSecurityGroups",
"ecs:DescribeSnapshots",
"ecs:JoinResourceGroup",
"ecs:ModifyInstanceAttribute",
"ecs:ModifySecurityGroupEgressRule",
"ecs:ModifySecurityGroupRule",
"ecs:RemoveTags",
"ecs:ReplaceSystemDisk",
"ecs:StartInstance",
"ecs:StopInstance",
"ecs:TagResources",
"ecs:UntagResources"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"pvtz:AddZone",
"pvtz:AddZoneRecord",
"pvtz:BindZoneVpc",
"pvtz:DeleteZone",
"pvtz:DeleteZoneRecord",
"pvtz:DescribeZones",
"pvtz:DescribeZoneInfo",
"pvtz:DescribeZoneRecords",
"pvtz:DescribeZones",
"pvtz:ListTagResources",
"pvtz:SetProxyPattern",
"pvtz:SetZoneRecordStatus",
"pvtz:TagResources",
"pvtz:UntagResources",
"pvtz:UpdateZoneRecord",
"pvtz:UpdateZoneRemark"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"quotas:ListProductQuotas",
"quotas:GetProductQuota"
],
"Effect": "Allow",
"Resource": "acs:quotas:*:*:*"
},
{
"Action": "rds:DescribeDBInstances",
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"slb:DescribeLoadBalancerAttribute",
"slb:DescribeLoadBalancers"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"tag:TagResources",
"tag:UntagResources"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"vpc:AllocateEipAddress",
"vpc:AssociateEipAddress",
"vpc:AssociateRouteTable",
"vpc:AssociateVpcCidrBlock",
"vpc:CreateNatGateway",
"vpc:CreateRouteEntry",
"vpc:CreateRouteTable",
"vpc:CreateSnatEntry",
"vpc:CreateVSwitch",
"vpc:CreateVpc",
"vpc:DeleteBandwidthPackage",
"vpc:DeleteNatGateway",
"vpc:DeleteRouteEntry",
"vpc:DeleteRouteTable",
"vpc:DeleteSnatEntry",
"vpc:DeleteVSwitch",
"vpc:DeleteVpc",
"vpc:DeletionProtection",
"vpc:DescribeBandwidthPackages",
"vpc:DescribeEipAddresses",
"vpc:DescribeInstances",
"vpc:DescribeNatGateways",
"vpc:DescribeRouteEntryList",
"vpc:DescribeRouteTableList",
"vpc:DescribeRouteTables",
"vpc:DescribeSnatTableEntries",
"vpc:DescribeVRouters",
"vpc:DescribeVSwitches",
"vpc:DescribeVirtualBorderRouters",
"vpc:DescribeVpcs",
"vpc:DescribeVpnGateways",
"vpc:DescribeZones",
"vpc:DescribeVSwitchAttributes",
"vpc:DescribeVpcAttribute",
"vpc:GetNatGatewayAttribute",
"vpc:ListEnhanhcedNatGatewayAvailableZones",
"vpc:ListTagResources",
"vpc:ModifyEipAddressAttribute",
"vpc:ModifyNatGatewaySpec",
"vpc:ModifyRouteTableAttributes",
"vpc:ModifySnatEntry",
"vpc:ModifyVSwitchAttribute",
"vpc:ModifyVpcAttribute",
"vpc:ReleaseEipAddress",
"vpc:TagResources",
"vpc:UnTagResources",
"vpc:UnassociateEipAddress",
"vpc:UnassociateRouteTable",
"vpc:UnassociateVpcCidrBlock"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"ros:CreateStack",
"ros:GetStack",
"ros:GetStackResource",
"ros:GetTemplateParameterConstraints",
"ros:GetTemplateEstimateCost",
"ros:GetServiceProvisions",
"ros:GenerateTemplatePolicy",
"ros:ContinueCreateStack",
"ros:PreviewStack",
"ros:UpdateStack",
"ros:ListStackEvents",
"ros:ListStackResources",
"ros:DeleteStack"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"computenest:GetServiceInstance",
"computenest:GetService",
"computenest:GetServiceTemplateParameterConstraints",
"computenest:GetServiceEstimateCost",
"computenest:GetServiceProvisions",
"computenest:GetUserInformation",
"computenest:GenerateServicePolicy",
"computenest:ListServiceInstances",
"computenest:ListServiceInstanceResources",
"computenest:CreateServiceInstance",
"computenest:ContinueDeployServiceInstance",
"computenest:DeleteServiceInstances"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": "ram:GetRole",
"Effect": "Allow",
"Resource": [
"acs:ram:*:*:role/aliyuncsdefaultrole",
"acs:ram:*:*:role/aliyuncsmanagedvkrole",
"acs:ram:*:*:role/aliyuncsmanagedkubernetesrole",
"acs:ram:*:*:role/aliyuncsmanagedlogrole",
"acs:ram:*:*:role/aliyuncsmanagedcmsrole",
"acs:ram:*:*:role/aliyuncsmanagedcsirole",
"acs:ram:*:*:role/aliyuncskubernetesauditrole",
"acs:ram:*:*:role/aliyuncsmanagednetworkrole",
"acs:ram:*:*:role/aliyuncsmanagedarmsrole",
"acs:ram:*:*:role/aliyuncsserverlesskubernetesrole",
"acs:ram:*:*:role/aliyuncsmanagedcsipluginrole",
"acs:ram:*:*:role/aliyuncsmanagedcsiprovisionerrole",
"acs:ram:*:*:role/aliyuncsmanagednlcrole",
"acs:ram:*:*:role/aliyuncsmanagedautoscalerrole",
"acs:ram:*:*:role/aliyunooslifecyclehook4csrole",
"acs:ram:*:*:role/aliyuncccsipluginrole",
"acs:ram:*:*:role/aliyuncsmanagedagentsandboxrole",
"acs:ram:*:*:role/aliyunccagentsandboxrole",
"acs:ram:*:*:role/aliyunserviceroleforacc",
"acs:ram:*:*:role/aliyuncccisdefaultrole",
"acs:ram:*:*:role/aliyuncccsipluginrole",
"acs:ram:*:*:role/aliyuncckubernetesauditrole",
"acs:ram:*:*:role/aliyunccmanagedlogrole",
"acs:ram:*:*:role/aliyunccmanagedarmsrole",
"acs:ram:*:*:role/aliyunccccmservicerole",
"acs:ram:*:*:role/aliyunccnecrole",
"acs:ram:*:*:role/aliyunccmanagedacrrole",
"acs:ram:*:*:role/aliyunccforresourceproviderrole",
"acs:ram:*:*:role/aliyunccmanagedvirtualnoderole",
"acs:ram:*:*:role/aliyunccmanagedacsbrokerrole",
"acs:ram:*:*:role/aliyunccmanagedmserole",
"acs:ram:*:*:role/aliyuncsdefaultrole",
"acs:ram:*:*:role/aliyuncsmanagedkubernetesrole",
"acs:ram:*:*:role/aliyuncsmanagedimagecacherole"
]
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "user.computenest.aliyuncs.com"
}
}
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "acs-sandbox.sandbox.aliyuncs.com"
}
}
}
],
"Version": "1"
}相关文档
该文章对您有帮助吗?