AliyunServiceRolePolicyForEBS

更新时间:
复制 MD 格式

AliyunServiceRolePolicyForEBS 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForEBS 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2026-06-18 18:07:30

  • 更新时间:2026-06-18 18:07:30

  • 当前版本:v1

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "fc:GetService",
        "fc:CreateService",
        "fc:GetFunction",
        "fc:CreateFunction",
        "fc:DeleteFunction",
        "fc:InvokeFunction",
        "fc:DeleteService"
      ],
      "Resource": "*"
    },
    {
      "Action": [
        "ecs:DescribeDisks",
        "ecs:CreateDisk",
        "ecs:AttachDisk",
        "ecs:ReInitDisk",
        "ecs:DetachDisk",
        "ecs:DescribeDisks",
        "ecs:ReplaceSystemDisk",
        "ecs:DeleteDisk",
        "ecs:ResizeDisk",
        "ecs:ModifyDiskSpec",
        "ecs:ModifyDiskAttribute",
        "ecs:DescribeDedicatedBlockStorageClusters",
        "ecs:DescribeDedicatedBlockStorageClusterDisks",
        "ecs:CreateDedicatedBlockStorageCluster",
        "ecs:TagResources",
        "ecs:UntagResources",
        "ecs:ListTagResources",
        "ecs:DescribeImageSupportInstanceTypes",
        "ecs:DescribeImages",
        "ecs:DescribeSecurityGroups",
        "ecs:CreateSecurityGroup",
        "ecs:DeleteSecurityGroup",
        "ecs:CreateSnapshot",
        "ecs:DeleteSnapshot",
        "ecs:DescribeSnapshots",
        "ecs:CopySnapshot",
        "ecs:DescribeAutoSnapshotPolicy",
        "ecs:DescribeAutoSnapshotPolicyEx",
        "ecs:ApplyAutoSnapshotPolicy",
        "ecs:CancelAutoSnapshotPolicy",
        "ecs:CreateAutoSnapshotPolicy",
        "ecs:DeleteAutoSnapshotPolicy",
        "ecs:ModifyAutoSnapshotPolicy",
        "ecs:ModifyAutoSnapshotPolicyEx",
        "ecs:RunCommand",
        "ecs:CreateCommand",
        "ecs:DeleteCommand",
        "ecs:InvokeCommand",
        "ecs:ModifyCommand",
        "ecs:DescribeCommands",
        "ecs:DescribeSecurityGroupAttribute",
        "ecs:DescribeSecurityGroupReferences",
        "ecs:AuthorizeSecurityGroup",
        "ecs:AuthorizeSecurityGroupEgress",
        "ecs:JoinSecurityGroup",
        "ecs:LeaveSecurityGroup",
        "ecs:ModifySecurityGroupAttribute",
        "ecs:DescribeInstances",
        "ecs:RunInstances",
        "ecs:CreateInstance",
        "ecs:StartInstance",
        "ecs:StopInstance",
        "ecs:DeleteInstance",
        "ecs:DeleteInstances",
        "ecs:ModifyInstanceAttribute",
        "ecs:AllocatePublicIpAddress",
        "ecs:StopInvocation",
        "ecs:DescribeCloudAssistantStatus",
        "ecs:Createimage",
        "actiontrail:CreateServiceTrail",
        "actiontrail:DeleteServiceTrail",
        "actiontrail:ListServiceTrail"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Effect": "Allow",
      "Action": [
        "vpc:ListEnhanhcedNatGatewayAvailableZones",
        "vpc:CreateVpc",
        "vpc:DescribeVpcs",
        "vpc:DescribeVSwitches",
        "vpc:CreateVSwitch",
        "vpc:DeleteVpc",
        "vpc:DeleteVSwitch"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "oss:ListBuckets",
        "oss:ListObjects"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cs:CreateCluster",
        "cs:DescribeKubernetesVersionMetadata",
        "cs:DescribeClusterDetail",
        "cs:DeleteCluster",
        "cs:GetUserConfig",
        "cs:ListClusterAddonInstances",
        "cs:GetClusters",
        "cs:DescribeEdasClusterToken",
        "cs:CreateEdasClusterRole",
        "cs:CreateEdasClusterRoleBinding",
        "cs:GetUserPermissions"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ros:GetTemplateParameterConstraints",
        "ros:GetChangeSet",
        "ros:GetStack",
        "ros:GetStackDriftDetectionStatus",
        "ros:GetStackGroup",
        "ros:GetStackGroupOperation",
        "ros:GetStackInstance",
        "ros:GetStackPolicy",
        "ros:GetStackResource",
        "ros:GetTemplate",
        "ros:GetTemplateEstimateCost",
        "ros:GetTemplateSummary",
        "ros:ListStackGroupOperations",
        "ros:PreviewStack",
        "ros:ValidateTemplate",
        "ros:CancelUpdateStack",
        "ros:ContinueCreateStack",
        "ros:CreateChangeSet",
        "ros:CreateStack",
        "ros:CreateStackGroup",
        "ros:CreateStackInstances",
        "ros:CreateTemplate",
        "ros:DeleteChangeSet",
        "ros:DeleteStack",
        "ros:DeleteStackGroup",
        "ros:DeleteStackInstances",
        "ros:DeleteTemplate",
        "ros:DetectStackDrift",
        "ros:DetectStackGroupDrift",
        "ros:DetectStackResourceDrift",
        "ros:ExecuteChangeSet",
        "ros:GenerateTemplatePolicy",
        "ros:SetDeletionProtection",
        "ros:SetStackPolicy",
        "ros:SetTemplatePermission",
        "ros:SignalResource",
        "ros:StopStackGroupOperation",
        "ros:TagResources",
        "ros:UntagResources",
        "ros:UpdateStack",
        "ros:UpdateStackGroup",
        "ros:UpdateStackInstances",
        "ros:UpdateStackTemplateByResources",
        "ros:UpdateTemplate",
        "ros:ListChangeSets",
        "ros:ListStackEvents",
        "ros:ListStackGroupOperationResults",
        "ros:ListStackGroups",
        "ros:ListStackInstances",
        "ros:ListStackOperationRisks",
        "ros:ListStackResourceDrifts",
        "ros:ListStackResources",
        "ros:ListStacks",
        "ros:ListTagKeys",
        "ros:ListTagResources",
        "ros:ListTagValues",
        "ros:ListTemplates",
        "ros:ListTemplateVersions"
      ],
      "Resource": "*"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "ebs.aliyuncs.com"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ebs:DescribeDiskReplicaGroups",
        "ebs:DescribeDiskReplicaPairs",
        "ebs:RemoveDiskReplicaPair",
        "ebs:DeleteDiskReplicaPair",
        "ebs:CreateDiskReplicaPair",
        "ebs:DescribeDiskReplicaPairs",
        "ebs:ListTagResources"
      ],
      "Resource": "*"
    },
    {
      "Action": [
        "kms:List*",
        "kms:DescribeKey",
        "kms:TagResource",
        "kms:UntagResource"
      ],
      "Resource": [
        "acs:kms:*:*:*",
        "acs:kms:*:*:*/*"
      ],
      "Effect": "Allow"
    },
    {
      "Action": [
        "kms:Encrypt",
        "kms:Decrypt",
        "kms:GenerateDataKey"
      ],
      "Resource": "acs:kms:*:*:*/*",
      "Effect": "Allow"
    },
    {
      "Action": "tag:ListTagResources",
      "Resource": "*",
      "Effect": "Allow"
    }
  ]
}

相关文档