全部產品
Search
文件中心

Elastic Compute Service:授權信息

更新時間:Aug 31, 2026

存取控制(RAM)是阿里雲提供的系統管理使用者身份與資源存取權限的服務。使用 RAM 可以讓您避免與其他使用者共用阿里雲帳號密鑰,並可按需為使用者授予最小許可權。RAM 中使用權限原則描述授權的具體內容。

本文為您介紹 Elastic Compute Service 為 RAM 權限原則定義的操作(Action)、資源(Resource)和條件(Condition)。 Elastic Compute Service 的 RAM 代碼(RamCode)為 ecs,vpc,ecs-workbench ,支援的授權粒度為 RESOURCE 。

權限原則通用結構

權限原則支援 JSON 格式,其通用結構如下:

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}        

各欄位含義如下:

  • Effect:權限原則效果。取值:Allow(允許)、Deny(拒絕)。

  • Action:授予允許或拒絕許可權的具體操作。具體資訊,請參見操作(Action)。

  • Resource:受操作影響的具體對象,您可以使用資源 ARN 來描述指定資源。具體資訊,請參見資源(Resource)。

  • Condition:指授權生效的條件。可選欄位。具體資訊,請參見條件(Condition)。

    • Condition_operator:條件運算子,不同類型的條件對應不同的條件運算子。具體資訊,請參見權限原則基本元素。

    • Condition_key:條件關鍵字。

    • Condition_value:條件關鍵字對應的值。

操作(Action)

下表是Elastic Compute Service定義的操作,這些操作可以在 RAM 權限原則語句的Action元素中使用,用來授予執行該操作的許可權。下面對錶中的具體項提供說明:

  • 操作:是指具體的許可權點。

  • API:是指操作對應的 API 介面。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。該列不體現適用於任何操作的通用條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

API

存取層級

資源類型

條件關鍵字

關聯操作

ecs:StartInstance StartInstance update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyReservedInstanceAttribute ModifyReservedInstanceAttribute update

*ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#reservedinstanceId}

無 無
ecs:StartInstances StartInstances update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeUserData DescribeUserData get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeElasticityAssuranceInstances DescribeElasticityAssuranceInstances get

*All Resource

*

無 無
ecs:DescribePrefixListAssociations DescribePrefixListAssociations get

*PrefixList

acs:ecs:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

無 無
ecs:ModifyImageSharePermission ModifyImageSharePermission update

*Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:CreateImagePipeline CreateImagePipeline create

*ImagePipeline

acs:ecs:{#regionId}:{#accountId}:imagepipeline/*

無

ram:CreateServiceLinkedRole

ecs:DescribeImageSharePermission DescribeImageSharePermission get

*Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:DescribeDiagnosticReportAttributes DescribeDiagnosticReportAttributes get

*All Resource

*

無 無
ecs:ModifyDiskSpec ModifyDiskSpec update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

無 無
ecs:CancelSimulatedSystemEvents CancelSimulatedSystemEvents update

*All Resource

*

無 無
ecs:DescribeAutoSnapshotPolicyAssociations DescribeAutoSnapshotPolicyAssociations get

AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#snapshotpolicyId}

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

無 無
ecs:UnlockSnapshot UnlockSnapshot update

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#SnapshotId}

無 無
ecs:ModifyPrepayInstanceSpec ModifyPrepayInstanceSpec update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:CreatePlanMaintenanceWindow CreatePlanMaintenanceWindow create

*All Resource

*

無 無
ecs:CreateKeyPair CreateKeyPair create

*KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/*

無 無
ecs:DescribeLockedSnapshots DescribeLockedSnapshots list

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/*

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#SnapshotId}

無 無
ecs:DescribeDedicatedHosts DescribeDedicatedHosts get

DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/*

DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

無 無
ecs:AllocatePublicIpAddress AllocatePublicIpAddress create

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:EnableDiskEncryptionByDefault EnableDiskEncryptionByDefault none

*All Resource

*

無 無
ecs:CreateNetworkInterfacePermission CreateNetworkInterfacePermission create

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:DescribeClassicLinkInstances DescribeClassicLinkInstances get

*All Resource

*

無 無
ecs:ModifyDiskChargeType ModifyDiskChargeType update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyDedicatedHostAutoRenewAttribute ModifyDedicatedHostAutoRenewAttribute update

*DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

無 無
ecs:InstallCloudAssistant InstallCloudAssistant update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeDedicatedHostAutoRenew DescribeDedicatedHostAutoRenew get

*DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

無 無
ecs:CreateLaunchTemplate CreateLaunchTemplate create

*LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/*

無 無
ecs:ConvertNatPublicIpToEip ConvertNatPublicIpToEip update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ReleasePublicIpAddress ReleasePublicIpAddress delete

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:CreateAutoSnapshotPolicy CreateAutoSnapshotPolicy create

*AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/*

無 無
ecs:DescribeSnapshotsUsage DescribeSnapshotsUsage get

*All Resource

*

無 無
ecs:CreateAutoProvisioningGroup CreateAutoProvisioningGroup create

*All Resource

*

無

ram:CreateServiceLinkedRole

ecs:DescribeActivations DescribeActivations get

Activation

acs:ecs:{#regionId}:{#accountId}:activation/*

Activation

acs:ecs:{#regionId}:{#accountId}:activation/{#activationId}

無 無
ecs:ModifyInstanceVncPasswd ModifyInstanceVncPasswd update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DeleteSnapshot DeleteSnapshot delete

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

無 無
ecs:RevokeSecurityGroup RevokeSecurityGroup delete

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

ecs:tag

ecs:tag

ecs:tag

無
ecs:DetachDisk DetachDisk update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifySnapshotAttribute ModifySnapshotAttribute update

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

無 無
ecs:DescribeLaunchTemplateVersions DescribeLaunchTemplateVersions list

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/*

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

無 無
ecs:DeleteInstances DeleteInstances delete

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:CreateDiagnosticMetricSet CreateDiagnosticMetricSet create

*All Resource

*

無 無
ecs:LeaveSecurityGroup LeaveSecurityGroup update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

無 無
ecs:DescribePortRangeListAssociations DescribePortRangeListAssociations list

*PortRangeList

acs:ecs:{#regionId}:{#accountId}:portrangelist/{#portRangeListId}

無 無
ecs:PurchaseStorageCapacityUnit PurchaseStorageCapacityUnit create

*StorageCapacityUnit

acs:ecs:{#regionId}:{#accountId}:scu/*

無 無
ecs:ImportImage ImportImage update

*Image

acs:ecs:{#regionId}:{#accountId}:image/*

無 無
ecs:CopyImage CopyImage update

*Image

acs:ecs:{#regionId}:{#accountId}:image/*

無 無
ecs:RedeployInstance RedeployInstance update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DeleteVsc DeleteVsc delete

*All Resource

*

無 無
ecs:CancelImagePipelineExecution CancelImagePipelineExecution update

*ImagePipeline

acs:ecs:{#regionId}:{#accountId}:imagepipeline/{#imagepipelineId}

無 無
ecs:DescribePortRangeLists DescribePortRangeLists list

*PortRangeList

acs:ecs:{#regionId}:{#accountId}:portrangelist/*

PortRangeList

acs:ecs:{#regionId}:{#accountId}:portrangelist/{#portRangeListId}

無 無
ecs:DescribeInstances DescribeInstances list

Instance

acs:ecs:{#regionId}:{#accountId}:instance/*

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

ResourceOwner

無
ecs:ModifyDeploymentSetAttribute ModifyDeploymentSetAttribute update

*DeploymentSet

acs:ecs:{#regionId}:{#accountId}:deploymentset/{#DeploymentSetId}

無 無
ecs:CreateDisk CreateDisk create

Disk

acs:ecs:{#regionId}:{#accountId}:disk/*

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

ecs:IsDiskEncrypted

ecs:IsDiskByokEncrypted

無
ecs:StopInvocation StopInvocation update

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeLaunchTemplates DescribeLaunchTemplates get

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/*

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

無 無
ecs:DeleteDisk DeleteDisk delete

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

無 無
ecs:ModifyInstanceNetworkOptions ModifyInstanceNetworkOptions update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}

無 無
ecs:EnableNetworkInterfaceQoS EnableNetworkInterfaceQoS update

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:JoinResourceGroup JoinResourceGroup update

DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairId}

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#SnapshotId}

無 無
ecs:ModifyInstanceAttachmentAttributes ModifyInstanceAttachmentAttributes update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ListTagResources ListTagResources get

*All Resource

*

無 無
ecs:ModifyInstanceSecurityOptions ModifyInstanceSecurityOptions update

*All Resource

*

無 無
ecs:DescribeRenewalPrice DescribeRenewalPrice get

DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyLaunchTemplateDefaultVersion ModifyLaunchTemplateDefaultVersion update

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

無 無
ecs:ReleaseDedicatedHost ReleaseDedicatedHost delete

*DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

無 無
ecs:RenewDedicatedHosts RenewDedicatedHosts update

*DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

無 無
ecs:DescribeLimitation DescribeLimitation get

*All Resource

*

無 無
ecs:DeleteLaunchTemplate DeleteLaunchTemplate delete

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

無 無
ecs:ResetDiskDefaultKMSKeyId ResetDiskDefaultKMSKeyId none

*All Resource

*

無 無
ecs:StartImagePipelineExecution StartImagePipelineExecution update

*ImagePipeline

acs:ecs:{#regionId}:{#accountId}:imagepipeline/{#imagepipelineId}

無 無
ecs:RebootInstance RebootInstance update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeAutoProvisioningGroupHistory DescribeAutoProvisioningGroupHistory get

*All Resource

*

無 無
ecs:DisableDiskEncryptionByDefault DisableDiskEncryptionByDefault none

*All Resource

*

無 無
ecs:ModifyInstanceVpcAttribute ModifyInstanceVpcAttribute update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#vswitchId}

vpc:tag

vpc:VPC

無
ecs:PurchaseElasticityAssurance PurchaseElasticityAssurance update

*ElasticityAssurance

acs:ecs:{#regionId}:{#accountId}:elasticityassurance/{#ElasticityAssuranceId}

無 無
ecs:DescribeSnapshots DescribeSnapshots get

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/*

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

無 無
ecs:DescribeInstanceHistoryEvents DescribeInstanceHistoryEvents get

*All Resource

*

無 無
ecs:ModifyElasticityAssuranceAutoRenewAttribute ModifyElasticityAssuranceAutoRenewAttribute update

*ElasticityAssurance

acs:ecs:{#regionId}:{#accountId}:elasticityassurance/{#ElasticityAssuranceId}

無 無
ecs:GetInstanceConsoleOutput GetInstanceConsoleOutput get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:RenewReservedInstances RenewReservedInstances create

*ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#ReservedInstanceId}

無 無
ecs:CreateSimulatedSystemEvents CreateSimulatedSystemEvents create

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeInstanceMonitorData DescribeInstanceMonitorData get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ApplyAutoSnapshotPolicy ApplyAutoSnapshotPolicy update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

*AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#snapshotpolicyId}

無 無
ecs:AddTags AddTags create

*All Resource

*

無 無
ecs:CreateDiagnosticReport CreateDiagnosticReport create

*All Resource

*

無 無
ecs:DeleteInstance DeleteInstance delete

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DeleteHpcCluster DeleteHpcCluster delete

*All Resource

*

無 無
ecs:DescribeTerminalSessions DescribeTerminalSessions list

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}

無 無
ecs:ModifyNetworkInterfaceAttribute ModifyNetworkInterfaceAttribute update

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

無 無
ecs:ResizeDisk ResizeDisk update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

無 無
ecs:ModifyAutoProvisioningGroup ModifyAutoProvisioningGroup update

*autoprovisioninggroup

acs:ecs:{#regionId}:{#accountId}:autoprovisioninggroup/{#autoprovisioninggroupId}

無

ram:CreateServiceLinkedRole

ecs:CreateSecurityGroup CreateSecurityGroup create

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/*

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#vpcId}

無 無
ecs:ModifyDiskDeployment ModifyDiskDeployment update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

無 無
ecs:SendFile SendFile update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyDiskDefaultKMSKeyId ModifyDiskDefaultKMSKeyId update

*All Resource

*

無 無
ecs:DeleteSnapshotGroup DeleteSnapshotGroup delete

*SnapshotGroup

acs:ecs:{#regionId}:{#accountId}:snapshotgroup/{#snapshotgroupId}

無 無
ecs:ModifyInstanceSpec ModifyInstanceSpec update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

ecs:AssociatePublicIpAddress

無
ecs:DeleteNetworkInterfacePermission DeleteNetworkInterfacePermission delete

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:ModifyPlanMaintenanceWindow ModifyPlanMaintenanceWindow update

*All Resource

*

無 無
ecs:CreateSnapshotGroup CreateSnapshotGroup create

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#DiskId}

無 無
ecs:AttachInstanceRamRole AttachInstanceRamRole update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*Role

acs:ram:{#regionId}:{#accountId}:role/{#roleName}

無

ram:PassRole

ecs:ModifyCapacityReservation ModifyCapacityReservation update

*CapacityReservation

acs:ecs:{#regionId}:{#accountId}:capacityreservation/{#CapacityReservationId}

無 無
ecs:AssignPrivateIpAddresses AssignPrivateIpAddresses create

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:DescribeManagedInstances DescribeManagedInstances get

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeDeploymentSets DescribeDeploymentSets get

*DeploymentSet

acs:ecs:{#regionId}:{#accountId}:deploymentset/*

無 無
ecs:DescribeNetworkInterfaces DescribeNetworkInterfaces get

NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:DescribeVscs DescribeVscs list

Vsc

acs:ecs:{#regionId}:{#accountId}:vsc/*

無 無
ecs:DescribeResourcesModification DescribeResourcesModification get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DeleteImage DeleteImage delete

*Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:DescribeInstanceModificationPrice DescribeInstanceModificationPrice get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}

無 無
ecs:DescribeSnapshotGroups DescribeSnapshotGroups get

SnapshotGroup

acs:ecs:{#regionId}:{#accountId}:snapshotgroup/*

SnapshotGroup

acs:ecs:{#regionId}:{#accountId}:snapshotgroup/{#snapshotgroupId}

無 無
ecs:DescribeAutoSnapshotPolicyEx DescribeAutoSnapshotPolicyEx get

AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/*

AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#snapshotpolicyId}

無 無
ecs:DescribeEniMonitorData DescribeEniMonitorData get

NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribePortRangeListEntries DescribePortRangeListEntries list

*PortRangeList

acs:ecs:{#regionId}:{#accountId}:portrangelist/{#portRangeListId}

無 無
ecs:DeleteKeyPairs DeleteKeyPairs delete

*KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairName}

無 無
ecs:ReInitDisk ReInitDisk update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

ecs:PasswordCustomized

無
ecs:DeleteSecurityGroup DeleteSecurityGroup delete

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

無 無
ecs:AcceptInquiredSystemEvent AcceptInquiredSystemEvent update

*All Resource

*

無 無
ecs:DeleteActivation DeleteActivation update

*activation

acs:ecs:{#regionId}:{#accountId}:activation/{#activationId}

無 無
ecs:DescribeTags DescribeTags get

*All Resource

*

無 無
ecs:ImportKeyPair ImportKeyPair create

*KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/*

無 無
ecs:DescribeDiskEncryptionByDefaultStatus DescribeDiskEncryptionByDefaultStatus none

*DiskEncryptionDefaultConfig

acs:ecs:{#regionId}:{#accountId}:diskencryptiondefaultconfig/*

無 無
ecs:DescribePrefixLists DescribePrefixLists get

*PrefixList

acs:ecs:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

無 無
ecs:DeleteLaunchTemplateVersion DeleteLaunchTemplateVersion delete

*LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

無 無
ecs:DescribeDisks DescribeDisks list

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

Disk

acs:ecs:{#regionId}:{#accountId}:disk/*

無 無
ecs:DetachClassicLinkVpc DetachClassicLinkVpc update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#vpcId}

無 無
ecs:DescribeReservedInstanceAutoRenewAttribute DescribeReservedInstanceAutoRenewAttribute get

*ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#ReservedInstanceId}

無 無
ecs:ModifyDiskAttribute ModifyDiskAttribute update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

無 無
ecs:ExportSnapshot ExportSnapshot create

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

無 無
ecs:ModifySnapshotCategory ModifySnapshotCategory update

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

ecs:tag

無
ecs:DescribeAccountAttributes DescribeAccountAttributes get

*All Resource

*

無 無
ecs:DescribeElasticityAssurances DescribeElasticityAssurances get

*ElasticityAssurance

acs:ecs:{#regionId}:{#accountId}:elasticityassurance/*

無 無
ecs:DescribeDiagnosticMetricSets DescribeDiagnosticMetricSets get

*All Resource

*

無 無
ecs:DescribeAutoProvisioningGroupInstances DescribeAutoProvisioningGroupInstances get

*AutoProvisioningGroup

acs:ecs:{#regionId}:{#accountId}:autoprovisioninggroup/{#autoprovisioninggroupId}

無 無
ecs:AllocateDedicatedHosts AllocateDedicatedHosts create

*DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/*

無 無
ecs:ModifyInstanceAttribute ModifyInstanceAttribute update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}

ecs:tag

ecs:PasswordCustomized

無
ecs:CreatePortRangeList CreatePortRangeList create

*PortRangeList

acs:ecs:{#regionId}:{#accountId}:portrangelist/*

無 無
ecs:DisableActivation DisableActivation update

*Activation

acs:ecs:{#regionId}:{#accountId}:activation/{#ActivationId}

無 無
ecs:DeleteCommand DeleteCommand delete

*Command

acs:ecs:{#regionId}:{#accountId}:command/{#commandId}

無 無
ecs:ModifyInstanceAutoReleaseTime ModifyInstanceAutoReleaseTime update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyManagedInstance ModifyManagedInstance update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribePrefixListAttributes DescribePrefixListAttributes get

*PrefixList

acs:ecs:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

無 無
ecs:RunCommand RunCommand update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

ecs:CommandRunAs

無
ecs:DescribeCapacityReservationInstances DescribeCapacityReservationInstances get

*CapacityReservation

acs:ecs:{#regionId}:{#accountId}:capacityreservation/{#CapacityReservationId}

無 無
ecs:ModifySecurityGroupAttribute ModifySecurityGroupAttribute update

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

無 無
ecs:DescribeSecurityGroupReferences DescribeSecurityGroupReferences get

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

無 無
ecs:DescribeImages DescribeImages get

Image

acs:ecs:{#regionId}:{#accountId}:image/*

Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:ModifyDedicatedHostClusterAttribute ModifyDedicatedHostClusterAttribute update

*ddhcluster

acs:ecs:{#regionId}:{#accountId}:ddhcluster/{#ddhclusterId}

無 無
ecs:CreateCapacityReservation CreateCapacityReservation create

*CapacityReservation

acs:ecs:{#regionId}:{#accountId}:capacityreservation/*

無 無
ecs:DescribeSnapshotMonitorData DescribeSnapshotMonitorData get

*All Resource

*

無 無
ecs:DescribeDiskDefaultKMSKeyId DescribeDiskDefaultKMSKeyId get

*DiskEncryptionDefaultConfig

acs:ecs:{#regionId}:{#accountId}:diskencryptiondefaultconfig/*

無 無
ecs:ModifyUserBusinessBehavior ModifyUserBusinessBehavior update

*All Resource

*

無 無
ecs:ModifyInstanceAutoRenewAttribute ModifyInstanceAutoRenewAttribute update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyInstanceClockOptions ModifyInstanceClockOptions update

*All Resource

*

無 無
ecs:AssignIpv6Addresses AssignIpv6Addresses create

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:AuthorizeSecurityGroupEgress AuthorizeSecurityGroupEgress create

*All Resource

*

ecs:SecurityGroupIpProtocols

ecs:SecurityGroupSourceCidrIps

無
ecs:EndTerminalSession EndTerminalSession update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}

無 無
ecs:CreateInstance CreateInstance create

*All Resource

*

vpc:VPC

vpc:IsDefaultVSwitch

vpc:IsDefaultVpc

ecs:IsDiskEncrypted

ecs:InstanceType

ecs:InstanceTypeFamily

ecs:ImageOwnerId

ecs:ImageSource

ecs:NotSpecifySecurityGroupId

ecs:LoginAsNonRoot

ecs:IsSystemDiskByokEncrypted

ecs:IsDiskByokEncrypted

ecs:PasswordInherit

ecs:PasswordCustomized

ecs:IsSystemDiskEncrypted

ecs:ImagePlatform

ecs:LoginAsNonRoot

ecs:IsSystemDiskByokEncrypted

ecs:IsDiskByokEncrypted

ecs:PasswordInherit

ecs:PasswordCustomized

ecs:IsSystemDiskEncrypted

ecs:ImagePlatform

ecs:SecurityHardeningMode

vpc:CreateDefaultVpc

ecs:SecurityEnhancementStrategy

ecs:AssociatePublicIpAddress

ecs:InstanceChargeType

無
ecs:GetInstanceScreenshot GetInstanceScreenshot get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeElasticityAssuranceAutoRenewAttribute DescribeElasticityAssuranceAutoRenewAttribute get

*ElasticityAssurance

acs:ecs:{#regionId}:{#accountId}:elasticityassurance/{#ElasticityAssuranceId}

無 無
ecs:DescribeInvocationResults DescribeInvocationResults get

Command

acs:ecs:{#regionId}:{#accountId}:command/{#commandId}

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DeleteImageComponent DeleteImageComponent delete

*ImageComponent

acs:ecs:{#regionId}:{#accountId}:imagecomponent/{#imagecomponentId}

無 無
ecs:DescribePlanMaintenanceWindows DescribePlanMaintenanceWindows list

*All Resource

*

無 無
ecs:DescribeInvocations DescribeInvocations get

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

Command

acs:ecs:{#regionId}:{#accountId}:command/{#commandId}

無 無
ecs:DescribeInstanceAttribute DescribeInstanceAttribute get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeInstanceAttachmentAttributes DescribeInstanceAttachmentAttributes get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeNetworkInterfaceAttribute DescribeNetworkInterfaceAttribute get

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:ModifyDedicatedHostAttribute ModifyDedicatedHostAttribute update

*DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

DedicatedHostCluster

acs:ecs:{#regionId}:{#accountId}:ddhcluster/{#ddhclusterId}

無 無
ecs:DescribeBandwidthLimitation DescribeBandwidthLimitation get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyCommand ModifyCommand update

*Command

acs:ecs:{#regionId}:{#accountId}:command/{#commandId}

無 無
ecs:DescribeImageFromFamily DescribeImageFromFamily get

*All Resource

*

無 無
ecs:CancelCopyImage CancelCopyImage update

*Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:AttachNetworkInterface AttachNetworkInterface update

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifySecurityGroupRule ModifySecurityGroupRule update

*All Resource

*

ecs:SecurityGroupIpProtocols

ecs:SecurityGroupSourceCidrIps

無
ecs:JoinSecurityGroup JoinSecurityGroup update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

無 無
ecs:DescribeResourceByTags DescribeResourceByTags get

*All Resource

*

無 無
ecs:DescribeCloudAssistantStatus DescribeCloudAssistantStatus get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ReportInstancesStatus ReportInstancesStatus get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyDedicatedHostsChargeType ModifyDedicatedHostsChargeType update

*All Resource

*

無 無
ecs:CreateLaunchTemplateVersion CreateLaunchTemplateVersion create

*LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

無 無
ecs:ModifyReservedInstances ModifyReservedInstances update

*ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#reservedinstanceId}

無 無
ecs:ResetDisks ResetDisks update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

無 無
ecs:DetachKeyPair DetachKeyPair update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairName}

無 無
ecs:DescribeHpcClusters DescribeHpcClusters get

*HpcCluster

acs:ecs:{#regionId}:{#accountId}:hpc/*

無 無
ecs:ListPluginStatus ListPluginStatus get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}

無 無
ecs:OpenSnapshotService OpenSnapshotService create

*All Resource

*

無 無
ecs:DeletePrefixList DeletePrefixList delete

*PrefixList

acs:ecs:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

無 無
ecs:DescribeUserBusinessBehavior DescribeUserBusinessBehavior get

*All Resource

*

無 無
ecs:DeletePlanMaintenanceWindow DeletePlanMaintenanceWindow delete

*All Resource

*

無 無
ecs:CreateSnapshot CreateSnapshot create

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/*

無 無
ecs:ExportImage ExportImage update

*Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:ModifySnapshotGroup ModifySnapshotGroup update

*SnapshotGroup

acs:ecs:{#regionId}:{#accountId}:snapshotgroup/{#SnapshotGroupId}

無 無
ecs:RunInstances RunInstances create

*All Resource

*

vpc:IsDefaultVSwitch

vpc:IsDefaultVpc

vpc:VPC

ecs:IsDiskEncrypted

ecs:InstanceTypeFamily

ecs:InstanceType

ecs:ImageOwnerId

ecs:ImageSource

ecs:NotSpecifySecurityGroupId

ecs:LoginAsNonRoot

ecs:IsSystemDiskByokEncrypted

ecs:IsDiskByokEncrypted

ecs:PasswordInherit

ecs:PasswordCustomized

ecs:IsSystemDiskEncrypted

ecs:ImagePlatform

ecs:IsDiskEncrypted

ecs:SecurityHardeningMode

ecs:AssociatePublicIpAddress

vpc:CreateDefaultVpc

ecs:SecurityEnhancementStrategy

ecs:InstanceChargeType

無
ecs:ModifyInstanceMetadataOptions ModifyInstanceMetadataOptions update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DeleteDiagnosticReports DeleteDiagnosticReports delete

*All Resource

*

無 無
ecs:DetachNetworkInterface DetachNetworkInterface update

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeReservedInstances DescribeReservedInstances get

ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/*

ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#reservedinstanceId}

無 無
ecs:DeleteDeploymentSet DeleteDeploymentSet delete

*DeploymentSet

acs:ecs:{#regionid}:{#accountId}:deploymentset/{#deploymentSetId}

無 無
ecs:DeleteAutoSnapshotPolicy DeleteAutoSnapshotPolicy delete

*AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#SnapshotPolicyId}

無 無
ecs:DescribeNetworkInterfacePermissions DescribeNetworkInterfacePermissions get

NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:LockSnapshot LockSnapshot update

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#SnapshotId}

無 無
ecs:ModifyDiagnosticMetricSet ModifyDiagnosticMetricSet update

*All Resource

*

無 無
ecs:ModifySecurityGroupPolicy ModifySecurityGroupPolicy update

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

無 無
ecs:ReleaseCapacityReservation ReleaseCapacityReservation delete

*CapacityReservation

acs:ecs:{#regionId}:{#accountId}:capacityreservation/{#CapacityReservationId}

無 無
ecs:ModifyElasticityAssurance ModifyElasticityAssurance update

*ElasticityAssurance

acs:ecs:{#regionId}:{#accountId}:elasticityassurance/{#ElasticityAssuranceId}

無 無
ecs:DescribeKeyPairs DescribeKeyPairs get

KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairName}

KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/*

無 無
ecs:DescribePrice DescribePrice get

*All Resource

*

無 無
ecs:DescribeDisksFullStatus DescribeDisksFullStatus list

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

Disk

acs:ecs:{#regionId}:{#accountId}:disk/*

無 無
ecs:DescribeSendFileResults DescribeSendFileResults get

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:AttachKeyPair AttachKeyPair update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairName}

無 無
ecs:ModifyReservedInstanceAutoRenewAttribute ModifyReservedInstanceAutoRenewAttribute update

*ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#ReservedInstanceId}

無 無
ecs:StopInstances StopInstances update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyPortRangeList ModifyPortRangeList update

*PortRangeList

acs:ecs:{#regionId}:{#accountId}:portrangelist/{#portRangeListId}

無 無
ecs:ModifyImageAttribute ModifyImageAttribute update

*Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:RemoveTags RemoveTags delete

*All Resource

*

無 無
ecs:RevokeSecurityGroupEgress RevokeSecurityGroupEgress delete

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

ecs:tag

ecs:tag

ecs:tag

無
ecs:ModifySecurityGroupEgressRule ModifySecurityGroupEgressRule update

*All Resource

*

ecs:tag

ecs:tag

ecs:SecurityGroupIpProtocols

ecs:SecurityGroupSourceCidrIps

無
ecs:DetachInstanceRamRole DetachInstanceRamRole update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*Role

acs:ram:{#regionId}:{#accountId}:role/{#roleName}

無 無
ecs:DescribeImageSupportInstanceTypes DescribeImageSupportInstanceTypes get

*Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:ModifyImageShareGroupPermission ModifyImageShareGroupPermission update

*Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

無 無
ecs:ModifyInstanceMaintenanceAttributes ModifyInstanceMaintenanceAttributes update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:CreateHpcCluster CreateHpcCluster create

*HpcCluster

acs:ecs:{#regionId}:{#accountId}:hpc/*

無 無
ecs:DeleteDiagnosticMetricSets DeleteDiagnosticMetricSets delete

*All Resource

*

無 無
ecs:DeleteNetworkInterface DeleteNetworkInterface delete

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:CreateImage CreateImage create

*Image

acs:ecs:{#regionId}:{#accountId}:image/*

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

無 無
ecs:CancelAutoSnapshotPolicy CancelAutoSnapshotPolicy update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#snapshotpolicyId}

無 無
ecs:StartTerminalSession StartTerminalSession update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

ecs:SessionStartAs

無
ecs:PurchaseReservedInstancesOffering PurchaseReservedInstancesOffering create

*ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/*

無 無
ecs:ModifyInstanceChargeType ModifyInstanceChargeType update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeInstancesFullStatus DescribeInstancesFullStatus list

*All Resource

*

無 無
ecs:ModifyDedicatedHostAutoReleaseTime ModifyDedicatedHostAutoReleaseTime update

*DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

無 無
ecs:CancelTask CancelTask update

*All Resource

*

無 無
ecs:RenewInstance RenewInstance update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:StopInstance StopInstance update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:CopySnapshot CopySnapshot create

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

無 無
ecs:CloneDisks CloneDisks create

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#SourceDiskId}

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/*

無 無
ecs:CreatePrefixList CreatePrefixList create

*All Resource

*

無 無
ecs:DescribeDiskMonitorData DescribeDiskMonitorData get

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

無 無
ecs:DescribeImagePipelineExecutions DescribeImagePipelineExecutions get

*ImagePipelineExecution

acs:ecs:{#regionId}:{#accountId}:imagepipelineexecution/*

*ImagePipelineExecution

acs:ecs:{#regionId}:{#accountId}:imagepipelineexecution/{#ImagePipelineExecutionId}

*ImagePipeline

acs:ecs:{#regionId}:{#accountId}:imagepipeline/*

*ImagePipeline

acs:ecs:{#regionId}:{#accountId}:imagepipeline/{#ImagePipelineId}

無 無
ecs:DeletePortRangeList DeletePortRangeList delete

*PortRangeList

acs:ecs:{#regionId}:{#accountId}:portrangelist/{#portRangeListId}

無 無
ecs:UnassignPrivateIpAddresses UnassignPrivateIpAddresses delete

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:AttachClassicLinkVpc AttachClassicLinkVpc update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#vpcId}

vpc:tag

無
ecs:DescribeInstanceStatus DescribeInstanceStatus list

*All Resource

*

無 無
ecs:DeleteAutoProvisioningGroup DeleteAutoProvisioningGroup delete

*AutoProvisioningGroup

acs:ecs:{#regionId}:{#accountId}:autoprovisioninggroup/{#autoprovisioninggroupId}

無

ram:CreateServiceLinkedRole

ecs:ModifyPrefixList ModifyPrefixList update

*PrefixList

acs:ecs:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

無 無
ecs:UnassignIpv6Addresses UnassignIpv6Addresses delete

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:DescribeDiagnosticMetrics DescribeDiagnosticMetrics get

*All Resource

*

無 無
ecs:DescribeInstanceRamRole DescribeInstanceRamRole get

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

Role

acs:ram:{#regionId}:{#accountId}:role/{#roleName}

無 無
ecs:DescribeDedicatedHostClusters DescribeDedicatedHostClusters get

DedicatedHostCluster

acs:ecs:{#regionId}:{#accountId}:ddhcluster/{#ddhclusterId}

DedicatedHostCluster

acs:ecs:{#regionId}:{#accountId}:ddhcluster/*

無 無
ecs:ModifyCloudAssistantSettings ModifyCloudAssistantSettings update

*ServiceSettings

acs:ecs:{#regionId}:{#accountId}:servicesettings/{#servicesettingId}

無 無
ecs:DescribeTasks DescribeTasks get

*All Resource

*

無 無
ecs:ModifyInstanceNetworkSpec ModifyInstanceNetworkSpec update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

ecs:AssociatePublicIpAddress

無
ecs:DescribeAutoProvisioningGroups DescribeAutoProvisioningGroups get

*All Resource

*

無 無
ecs:DescribeImageComponents DescribeImageComponents get

*ImageComponent

acs:ecs:{#regionId}:{#accountId}:imagecomponent/*

*ImageComponent

acs:ecs:{#regionId}:{#accountId}:imagecomponent/{#imagecomponentId}

無 無
ecs:CreateActivation CreateActivation create

*Activation

acs:ecs:{#regionId}:{#accountId}:activation/*

無 無
ecs:DescribeCommands DescribeCommands get

Command

acs:ecs:{#regionId}:{#accountId}:command/*

Command

acs:ecs:{#regionId}:{#accountId}:command/{#commandId}

無 無
ecs:CreateElasticityAssurance CreateElasticityAssurance create

*ElasticityAssurance

acs:ecs:{#regionId}:{#accountId}:elasticityassurance/*

無 無
ecs:DeleteDedicatedHostCluster DeleteDedicatedHostCluster delete

*DedicatedHostCluster

acs:ecs:{#regionId}:{#accountId}:ddhcluster/{#ddhclusterId}

無 無
ecs:InvokeCommand InvokeCommand update

*Command

acs:ecs:{#regionId}:{#accountId}:command/{#commandId}

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

ecs:CommandRunAs

無
ecs:DescribeSecurityGroups DescribeSecurityGroups get

SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/*

SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

ecs:tag

ecs:tag

ecs:tag

ecs:tag

無
ecs:DescribeImagePipelines DescribeImagePipelines get

*ImagePipeline

acs:ecs:{#regionId}:{#accountId}:imagepipeline/*

*ImagePipeline

acs:ecs:{#regionId}:{#accountId}:imagepipeline/{#imagepipelineId}

無 無
ecs:CreateVsc CreateVsc create

Vsc

acs:ecs:{#regionId}:{#accountId}:vsc/*

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}

無 無
ecs:DeregisterManagedInstance DeregisterManagedInstance update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ReplaceSystemDisk ReplaceSystemDisk update

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

ecs:IsDiskEncrypted

ecs:IsSystemDiskEncrypted

ecs:PasswordInherit

ecs:PasswordCustomized

ecs:IsDiskByokEncrypted

ecs:IsSystemDiskByokEncrypted

ecs:LoginAsNonRoot

ecs:ImagePlatform

無
ecs:DescribeSnapshotLinks DescribeSnapshotLinks get

*All Resource

*

無 無
ecs:DeleteImagePipeline DeleteImagePipeline delete

*ImagePipeline

acs:ecs:{#regionId}:{#accountId}:imagepipeline/{#imagepipelineId}

無 無
ecs:RebootInstances RebootInstances update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ModifyInvocationAttribute ModifyInvocationAttribute update

*Invocation

acs:ecs:{#regionId}:{#accountId}:invocation/{#invocationId}

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:AuthorizeSecurityGroup AuthorizeSecurityGroup create

*All Resource

*

ecs:SecurityGroupIpProtocols

ecs:SecurityGroupSourceCidrIps

無
ecs:RedeployDedicatedHost RedeployDedicatedHost update

*DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

無 無
ecs:DisableNetworkInterfaceQoS DisableNetworkInterfaceQoS update

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

無 無
ecs:RenewElasticityAssurances RenewElasticityAssurances create

*ElasticityAssurance

acs:ecs:{#regionId}:{#accountId}:elasticityassurance/{#ElasticityAssuranceId}

無 無
ecs:ReActivateInstances ReActivateInstances update

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeDiagnosticReports DescribeDiagnosticReports get

*All Resource

*

無 無
ecs:UntagResources UntagResources delete

DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairId}

ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#reservedinstanceId}

SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#SnapshotPolicyId}

無 無
ecs:CreateDedicatedHostCluster CreateDedicatedHostCluster create

*All Resource

*

無 無
ecs:DescribeInstanceMaintenanceAttributes DescribeInstanceMaintenanceAttributes get

*All Resource

*

無 無
ecs:DescribeTaskAttribute DescribeTaskAttribute get

*All Resource

*

無 無
ecs:AttachDisk AttachDisk update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

ecs:LoginAsNonRoot

ecs:PasswordCustomized

無
ecs:CreateDeploymentSet CreateDeploymentSet create

*All Resource

*

無 無
ecs:DescribeSecurityGroupAttribute DescribeSecurityGroupAttribute get

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

ecs:tag

無
ecs:DescribeInstanceAutoRenewAttribute DescribeInstanceAutoRenewAttribute list

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

Instance

acs:ecs:{#regionId}:{#accountId}:instance/*

無 無
ecs:CreateCommand CreateCommand create

*Command

acs:ecs:{#regionId}:{#accountId}:command/*

無 無
ecs:ModifySystemEventAttribute ModifySystemEventAttribute none

*All Resource

*

無 無
ecs:ModifyStorageCapacityUnitAttribute ModifyStorageCapacityUnitAttribute update

*StorageCapacityUnit

acs:ecs:{#regionId}:{#accountId}:scu/{#scuId}

無 無
ecs:ModifyHpcClusterAttribute ModifyHpcClusterAttribute update

*All Resource

*

無 無
ecs:CreateNetworkInterface CreateNetworkInterface create

*NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/*

*SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#vswitchId}

vpc:IsDefaultVSwitch

vpc:IsDefaultVpc

vpc:VPC

vpc:tag

vpc:tag

vpc:tag

無
ecs:CreateImageComponent CreateImageComponent create

*ImageComponent

acs:ecs:{#regionId}:{#accountId}:imagecomponent/*

無 無
ecs:DescribeCloudAssistantSettings DescribeCloudAssistantSettings list

*ServiceSettings

acs:ecs:{#regionId}:{#accountId}:servicesettings/{#servicesettingId}

無 無
ecs:DescribeCapacityReservations DescribeCapacityReservations get

*CapacityReservation

acs:ecs:{#regionId}:{#accountId}:capacityreservation/*

無 無
ecs:DescribeInstanceVncUrl DescribeInstanceVncUrl get

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:DescribeStorageCapacityUnits DescribeStorageCapacityUnits get

StorageCapacityUnit

acs:ecs:{#regionId}:{#accountId}:scu/*

StorageCapacityUnit

acs:ecs:{#regionId}:{#accountId}:scu/{#scuId}

無 無
ecs:TagResources TagResources create

DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

NetworkInterface

acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}

Image

acs:ecs:{#regionId}:{#accountId}:image/{#imageId}

Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

KeyPair

acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairId}

LaunchTemplate

acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}

ReservedInstance

acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#reservedinstanceId}

SecurityGroup

acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}

Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

AutoSnapshotPolicy

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#SnapshotPolicyId}

無 無
ecs:ModifyAutoSnapshotPolicyEx ModifyAutoSnapshotPolicyEx update

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#autoSnapshotPolicyId}

無 無
ecs:ModifyInstanceDeployment ModifyInstanceDeployment update

DedicatedHost

acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}

*Instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

無 無
ecs:ResetDisk ResetDisk update

*Disk

acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}

*Snapshot

acs:ecs:{#regionId}:{#accountId}:snapshot/{#snapshotId}

無 無
vpc:ActivateRouterInterface ActivateRouterInterface update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

無 無
vpc:DescribeVRouters DescribeVRouters get

*All Resource

*

vpc:VPC

無
vpc:ModifyVirtualBorderRouterAttribute ModifyVirtualBorderRouterAttribute update

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}

無 無
vpc:ModifyVpcAttribute ModifyVpcAttribute update

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

vpc:tag

無
vpc:AllocateEipAddress AllocateEipAddress update

*All Resource

*

無 無
vpc:DescribePhysicalConnections DescribePhysicalConnections get

*All Resource

*

無 無
vpc:UnassociateEipAddress UnassociateEipAddress update

*All Resource

*

無 無
vpc:DeletePhysicalConnection DeletePhysicalConnection delete

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

無 無
vpc:DescribeVpcs DescribeVpcs get

*All Resource

*

vpc:tag

無
vpc:DeactivateRouterInterface DeactivateRouterInterface update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

無 無
vpc:DescribeBandwidthPackages DescribeBandwidthPackages get

*All Resource

*

無 無
vpc:RemoveBandwidthPackageIps RemoveBandwidthPackageIps delete

*BandwidthPackage

acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/{#BandwidthPackageId}

無 無
vpc:DeleteVSwitch DeleteVSwitch delete

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

無 無
vpc:ModifyBandwidthPackageSpec ModifyBandwidthPackageSpec update

*BandwidthPackage

acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/{#BandwidthPackageId}

無 無
vpc:CreateHaVip CreateHaVip create

*All Resource

*

無 無
vpc:DescribeEipAddresses DescribeEipAddresses get

*Address

acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

無 無
vpc:ModifyRouterInterfaceSpec ModifyRouterInterfaceSpec update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

無 無
vpc:EnablePhysicalConnection EnablePhysicalConnection update

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

無 無
vpc:DeleteVirtualBorderRouter DeleteVirtualBorderRouter delete

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}

無 無
vpc:DescribeRouterInterfaces DescribeRouterInterfaces get

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

無 無
vpc:DescribeNatGateways DescribeNatGateways get

*All Resource

*

無 無
vpc:ModifyPhysicalConnectionAttribute ModifyPhysicalConnectionAttribute update

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

無 無
vpc:DeleteForwardEntry DeleteForwardEntry delete

*ForwardTable

acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}

無 無
vpc:DescribeVirtualBorderRoutersForPhysicalConnection DescribeVirtualBorderRoutersForPhysicalConnection get

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

vpc:PhysicalConnection

無
vpc:DescribeRouteTables DescribeRouteTables get

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

vpc:VBR

vpc:VRouter

無
vpc:TerminatePhysicalConnection TerminatePhysicalConnection update

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

無 無
vpc:ModifyRouterInterfaceAttribute ModifyRouterInterfaceAttribute update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

vpc:TargetAccountRDId

無
vpc:DescribeForwardTableEntries DescribeForwardTableEntries get

*ForwardTable

acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}

無 無
vpc:CreatePhysicalConnection CreatePhysicalConnection create

*All Resource

*

無 無
vpc:DeleteRouteEntry DeleteRouteEntry delete

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

無 無
vpc:DeleteRouterInterface DeleteRouterInterface delete

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

無 無
vpc:RecoverVirtualBorderRouter RecoverVirtualBorderRouter update

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}

無 無
vpc:DescribeHaVips DescribeHaVips get

*All Resource

*

無 無
vpc:TerminateVirtualBorderRouter TerminateVirtualBorderRouter update

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}

無 無
vpc:CreateVpc CreateVpc create

*All Resource

*

無 無
vpc:DeleteHaVip DeleteHaVip delete

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

無 無
vpc:AddBandwidthPackageIps AddBandwidthPackageIps create

*BandwidthPackage

acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/{#BandwidthPackageId}

無 無
vpc:CreateVirtualBorderRouter CreateVirtualBorderRouter create

*All Resource

*

無 無
vpc:CreateForwardEntry CreateForwardEntry create

*ForwardTable

acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}

無 無
vpc:ReleaseEipAddress ReleaseEipAddress update

*Address

acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

vpc:tag

無
vpc:ModifyVRouterAttribute ModifyVRouterAttribute update

*VRouter

acs:vpc:{#regionId}:{#accountId}:vrouter/{#VRouterId}

無 無
vpc:DeleteNatGateway DeleteNatGateway delete

*NatGateway

acs:vpc:{#regionId}:{#accountId}:natgateway/{#natgatewayid}

無 無
vpc:DescribeNewProjectEipMonitorData DescribeNewProjectEipMonitorData get

*Address

acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

無 無
vpc:CreateRouterInterface CreateRouterInterface create

*All Resource

*

vpc:TargetAccountRDId

無
vpc:ConnectRouterInterface ConnectRouterInterface update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

無 無
vpc:DescribeVirtualBorderRouters DescribeVirtualBorderRouters get

*VirtualBorderRouter

acs:vpc:{#regionId}:{#AccountId}:virtualborderrouter/{#VbrId}

無 無
vpc:ModifyEipAddressAttribute ModifyEipAddressAttribute update

*Address

acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

無 無
vpc:UnassociateHaVip UnassociateHaVip delete

*Instance

acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

無 無
vpc:DeleteVpc DeleteVpc delete

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

vpc:tag

無
vpc:DeleteBandwidthPackage DeleteBandwidthPackage delete

*BandwidthPackage

acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/{#BandwidthPackageId}

無 無
vpc:DescribeEipMonitorData DescribeEipMonitorData get

*Address

acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

無 無
vpc:ModifyForwardEntry ModifyForwardEntry update

*ForwardTable

acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}

無 無
vpc:ModifyHaVipAttribute ModifyHaVipAttribute update

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

無 無
vpc:DescribeVSwitches DescribeVSwitches get

*All Resource

*

vpc:VPC

無
vpc:CreateRouteEntry CreateRouteEntry create

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

無 無
vpc:CreateVSwitch CreateVSwitch create

*All Resource

*

vpc:tag

無
vpc:CreateNatGateway CreateNatGateway create

*All Resource

*

無 無
vpc:AssociateEipAddress AssociateEipAddress update

*All Resource

*

無 無
vpc:AssociateHaVip AssociateHaVip update

*Instance

acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

無 無
vpc:CancelPhysicalConnection CancelPhysicalConnection update

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

無 無
vpc:ModifyVSwitchAttribute ModifyVSwitchAttribute update

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

無 無

資源(Resource)

下表是Elastic Compute Service定義的資源,這些資源可以在 RAM 權限原則語句的Resource元素中使用,用來授予對該資源執行具體操作的許可權。 其中,資源 ARN 是資源在阿里雲上的唯一標識。具體說明如下:

  • {#}為變數標識,需要您替換為實際值。例如:{#ramcode}需要您替換為實際的雲端服務RAM代碼。

  • *表示全部。例如:

    • {#resourceType}為*時:表示全部資源。

    • {#regionId}為*時:表示全部地區。

    • {#accountId}為*時:表示全部阿里雲帳號。

資源類型

資源 ARN

Instance
  • acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}
  • acs:ecs:{#regionId}:{#accountId}:instance/*
  • acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}
ReservedInstance
  • acs:ecs:{#regionId}:{#accountId}:reservedinstance/{#reservedinstanceId}
  • acs:ecs:{#regionId}:{#accountId}:reservedinstance/*
CapacityReservation
  • acs:ecs:{#regionId}:{#accountId}:capacityreservation/*
  • acs:ecs:{#regionId}:{#accountId}:capacityreservation/{#CapacityReservationId}
PrefixList
  • acs:ecs:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
Image
  • acs:ecs:{#regionId}:{#accountId}:image/{#imageId}
  • acs:ecs:{#regionId}:{#accountId}:image/*
ImagePipeline
  • acs:ecs:{#regionId}:{#accountId}:imagepipeline/*
  • acs:ecs:{#regionId}:{#accountId}:imagepipeline/{#imagepipelineId}
Disk
  • acs:ecs:{#regionId}:{#accountId}:disk/{#diskId}
  • acs:ecs:{#regionId}:{#accountId}:disk/*
  • acs:ecs:{#regionId}:{#accountId}:disk/{#SourceDiskId}
AutoSnapshotPolicy
  • acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#snapshotpolicyId}
  • acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/*
Snapshot
  • acs:ecs:{#regionId}:{#accountId}:snapshot/{#SnapshotId}
  • acs:ecs:{#regionId}:{#accountId}:snapshot/*
  • acs:ecs::{#accountId}:snapshot/*
  • acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#autoSnapshotPolicyId}
KeyPair
  • acs:ecs:{#regionId}:{#accountId}:keypair/*
  • acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairId}
  • acs:ecs:{#regionId}:{#accountId}:keypair/{#keypairName}
DedicatedHost
  • acs:ecs:{#regionId}:{#accountId}:ddh/*
  • acs:ecs:{#regionId}:{#accountId}:ddh/{#ddhId}
NetworkInterface
  • acs:ecs:{#regionId}:{#accountId}:eni/{#eniId}
  • acs:ecs:{#regionId}:{#accountId}:eni/*
LaunchTemplate
  • acs:ecs:{#regionId}:{#accountId}:launchtemplate/*
  • acs:ecs:{#regionId}:{#accountId}:launchtemplate/{#launchtemplateId}
Fleet
  • acs:ecs:{#regionId}:{#accountId}:fleet/*
Activation
  • acs:ecs:{#regionId}:{#accountId}:activation/*
  • acs:ecs:{#regionId}:{#accountId}:activation/{#activationId}
SecurityGroup
  • acs:ecs:{#regionId}:{#accountId}:securitygroup/{#securitygroupId}
  • acs:ecs:{#regionId}:{#accountId}:securitygroup/*
PortRangeList
  • acs:ecs:{#regionId}:{#accountId}:portrangelist/{#portRangeListId}
  • acs:ecs:{#regionId}:{#accountId}:portrangelist/*
StorageCapacityUnit
  • acs:ecs:{#regionId}:{#accountId}:scu/*
  • acs:ecs:{#regionId}:{#accountId}:scu/{#scuId}
Vsc
  • acs:ecs:{#regionId}:{#accountId}:vsc/*
  • acs:ecs:{#regionId}:{#accountId}:vsc/{#VscId}
DeploymentSet
  • acs:ecs:{#regionId}:{#accountId}:deploymentset/{#DeploymentSetId}
  • acs:ecs:{#regionId}:{#accountId}:deploymentset/*
AutoProvisioningGroup
  • acs:ecs:{#regionId}:{#accountId}:autoprovisioninggroup/{#autoprovisioninggroupId}
  • acs:ecs:{#regionId}:{#accountId}:autoprovisioninggroup/*
VSwitch
  • acs:vpc:{#regionId}:{#accountId}:vswitch/{#vswitchId}
  • acs:vpc:{#regionId}:{#accountId}:vswitch/*
ElasticityAssurance
  • acs:ecs:{#regionId}:{#accountId}:elasticityassurance/{#ElasticityAssuranceId}
  • acs:ecs:{#regionId}:{#accountId}:elasticityassurance/*
snapshotpolicy
  • acs:ecs:{#regionId}:{#accountId}:snapshotpolicy/{#snapshotpolicyId}
HpcCluster
  • acs:ecs:{#regionId}:{#accountId}:hpc/{#hpcClusterId}
  • acs:ecs:{#regionId}:{#accountId}:hpc/*
autoprovisioninggroup
  • acs:ecs:{#regionId}:{#accountId}:autoprovisioninggroup/{#autoprovisioninggroupId}
VPC
  • acs:vpc:{#regionId}:{#accountId}:vpc/{#vpcId}
  • acs:vpc:{#regionId}:{#accountId}:vpc/*
SnapshotGroup
  • acs:ecs:{#regionId}:{#accountId}:snapshotgroup/{#snapshotgroupId}
  • acs:ecs:{#regionId}:{#accountId}:snapshotgroup/*
Role
  • acs:ram:{#regionId}:{#accountId}:role/{#roleName}
activation
  • acs:ecs:{#regionId}:{#accountId}:activation/{#activationId}
DedicatedHostCluster
  • acs:ecs:{#regionId}:{#accountId}:ddhcluster/*
  • acs:ecs:{#regionId}:{#accountId}:ddhcluster/{#ddhclusterId}
DiskEncryptionDefaultConfig
  • acs:ecs:{#regionId}:{#accountId}:diskencryptiondefaultconfig/*
Command
  • acs:ecs:{#regionId}:{#accountId}:command/{#commandId}
  • acs:ecs:{#regionId}:{#accountId}:command/*
ddhcluster
  • acs:ecs:{#regionId}:{#accountId}:ddhcluster/{#ddhclusterId}
  • acs:ecs:{#regionId}:{#accountId}:ddhcluster/*
ImageComponent
  • acs:ecs:{#regionId}:{#accountId}:imagecomponent/{#imagecomponentId}
  • acs:ecs:{#regionId}:{#accountId}:imagecomponent/*
ImagePipelineExecution
  • acs:ecs:{#regionId}:{#accountId}:imagepipelineexecution/*
  • acs:ecs:{#regionId}:{#accountId}:imagepipelineexecution/{#ImagePipelineExecutionId}
ServiceSettings
  • acs:ecs:{#regionId}:{#accountId}:servicesettings/{#servicesettingId}
Invocation
  • acs:ecs:{#regionId}:{#accountId}:invocation/{#invocationId}
RouterInterface
  • acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
  • acs:vpc:{#regionId}:{#accountId}:routerinterface/*
VRouter
  • acs:vpc:{#regionId}:{#accountId}:vrouter/*
  • acs:vpc:{#regionId}:{#accountId}:vrouter/{#VRouterId}
VirtualBorderRouter
  • acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}
  • acs:vpc:{#regionId}:{#AccountId}:virtualborderrouter/*
  • acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
Address
  • acs:vpc:{#regionId}:{#accountId}:eip/*
  • acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
PhysicalConnection
  • acs:vpc:{#regionId}:{#accountId}:physicalconnection/*
  • acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
HaVip
  • acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
  • acs:vpc:{#regionId}:{#accountId}:havip/*
BandwidthPackage
  • acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/{#BandwidthPackageId}
  • acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/*
NatGateway
  • acs:vpc:{#regionId}:{#accountId}:natgateway/*
  • acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
ForwardTable
  • acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}
RouteTable
  • acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
Association
  • acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

條件(Condition)

下表是Elastic Compute Service 定義的產品級條件關鍵字,這些條件關鍵字可以在 RAM 權限原則語句的Condition元素中使用,用來描述授予許可權的條件。以下僅列舉產品級的條件關鍵字,阿里雲定義的通用條件關鍵字也同樣適用Elastic Compute Service。

其中,資料類型決定了您可以使用哪些條件運算子將請求中的值與權限原則語句中的值進行比較。您必須使用與資料類型匹配的條件運算子,否則無法匹配策略語句,授權行為無效。資料類型與條件運算子的對應關係,請參見條件操作類型。

條件關鍵字

描述

類型

ecs:SecurityEnhancementStrategy 映像的作業系統類型。 String
vpc:CreateDefaultVpc 是否啟用安全性加固。 Boolean
ecs:AssociatePublicIpAddress 是否可以建立預設 VPC。 Boolean
ecs:PasswordInherit 是否支援資源在建立和變更配置過程中進行公網 IP 分配,即是否允許操作資源使公網頻寬大於 0Mbit/s。 Boolean
ecs:RamRoleName 執行個體是否繼承映像密碼。 String
vpc:IsDefaultVSwitch 是否為預設 VSwitch,是否可以使用預設 VSwitch。 Boolean
ecs:IsSystemDiskEncrypted 是否為加密系統磁碟。 String
ecs:PasswordCustomized 是否為主金鑰加密系統磁碟。 Boolean
ecs:CommandRunAs 映像來源。 String
ecs:SecurityGroupSourceCidrIps 是否使用了自訂密碼。 Array
ecs:InstanceTypeFamily 執行雲端助手命令的作業系統內使用者。 String
ecs:SecurityGroupIpProtocols 存取執行個體中繼資料時是否強制使用加固模式(IMDSv2)。 Array
vpc:IsDefaultVpc 安全性群組設定存取權限的來源端 IPv4 CIDR 位址區段。 Boolean
ecs:IsDiskByokEncrypted 描述:VPC 的資源 ARN。範例值:acs:vpc:cn-shanghai:1234567890:vpc/vpc-abc0123efg4567*** String
ecs:InstanceType 是否為加密資料磁碟。 String
ecs:NotSpecifySecurityGroupId 執行個體規格系列。 Boolean
ecs:ImagePlatform 執行個體的付費方式。 String
ecs:NotSpecifyRamRoleName 映像的擁有者 UID。 Boolean
ecs:IsSystemDiskByokEncrypted 安全性群組開放的傳輸層通訊協定。 String
ecs:SessionStartAs 是否為預設 VPC。 String
ecs:ImageSource 是否為非 root 身分登入執行個體。 String
ecs:SecurityHardeningMode 是否為主金鑰加密資料磁碟。 Boolean
vpc:VPC 執行個體規格。 String
ecs:IsDiskEncrypted 是否未指定安全性群組 ID。 String
ecs:InstanceChargeType 執行個體的付費方式。 String
ecs:ImageOwnerId 映像的擁有者 UID。 String
ecs:LoginAsNonRoot 是否為非 root 身分登入執行個體。 Boolean

相關操作

您可以建立自訂權限原則,並將權限原則授予 RAM 使用者、RAM 使用者組或 RAM 角色。具體操作如下: