RAM authorization

更新时间:
复制 MD 格式

Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. Using RAM helps you avoid sharing your Alibaba Cloud account keys with other users and allows you to grant users the least privilege access. RAM uses permission policies to define authorizations. This topic describes the general structure of a RAM policy, and the policy statement elements (Action, Resource, and Condition) defined by Elastic Compute Service for RAM permission policies. The RAM code (RamCode) for Elastic Compute Service is ecs,vpc , and the supported authorization granularity is RESOURCE .

General structure of a policy

Permission policies support JSON format with the following general structure:

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

The following list describes the fields in the policy:

  • Version: Specifies the policy version number. It is fixed at 1.

  • Statement:

    • Effect: Specifies the authorization result. Valid values: Allow and Deny.

    • Action: Specifies one or more operations that are allowed or denied.

    • Resource: Specifies the specific objects affected by the operations. You can use Alibaba Cloud Resource Names (ARNs) to describe specific resources.

    • Condition: Specifies the conditions for the authorization to take effect. This field is optional.

      • Condition operator: Specifies the conditional operators. Different types of conditions support different conditional operators.

      • Condition_key: Specifies the condition keys.

      • Condition_value: Specifies the condition values.

Action

The following table lists the actions defined by Elastic Compute Service. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that support authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding ARN in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys that are applicable across all RAM-integrated services. For more information, see Common condition keys.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

API

Access level

Resource type

Condition key

Dependent action

ecs:ReleaseDedicatedHost ReleaseDedicatedHost delete

*DedicatedHost

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

None None
ecs:RunCommand RunCommand update

*Instance

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

ecs:CommandRunAs

None
ecs:DescribeAutoSnapshotPolicyEx DescribeAutoSnapshotPolicyEx get

AutoSnapshotPolicy

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

AutoSnapshotPolicy

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

None None
ecs:ModifyImageShareGroupPermission ModifyImageShareGroupPermission update

*Image

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

None None
ecs:DetachKeyPair DetachKeyPair update

*Instance

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

*KeyPair

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

None None
ecs:ModifySecurityGroupEgressRule ModifySecurityGroupEgressRule update

*All Resource

*

ecs:tag

ecs:tag

ecs:SecurityGroupIpProtocols

ecs:SecurityGroupSourceCidrIps

None
ecs:ModifyDedicatedHostAutoRenewAttribute ModifyDedicatedHostAutoRenewAttribute update

*DedicatedHost

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

None None
ecs:PurchaseReservedInstancesOffering PurchaseReservedInstancesOffering create

*ReservedInstance

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

None None
ecs:DescribeImageFromFamily DescribeImageFromFamily get

*All Resource

*

None None
ecs:CreatePortRangeList CreatePortRangeList create

*PortRangeList

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

None None
ecs:ExportSnapshot ExportSnapshot create

*Snapshot

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

None None
ecs:CreateSimulatedSystemEvents CreateSimulatedSystemEvents create

*Instance

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

None None
ecs:DescribeInstancesFullStatus DescribeInstancesFullStatus list

*All Resource

*

None None
ecs:DeregisterManagedInstance DeregisterManagedInstance update

*Instance

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

None None
ecs:DescribeClassicLinkInstances DescribeClassicLinkInstances get

*All Resource

*

None None
ecs:StopInvocation StopInvocation update

Instance

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

None None
ecs:CreateLaunchTemplateVersion CreateLaunchTemplateVersion create

*LaunchTemplate

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

None None
ecs:ModifyInstanceVncPasswd ModifyInstanceVncPasswd update

*Instance

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

None None
ecs:CopyImage CopyImage update

*Image

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

None None
ecs:ModifyInstanceAttachmentAttributes ModifyInstanceAttachmentAttributes update

*Instance

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

None None
ecs:ModifyDiskDeployment ModifyDiskDeployment update

*Disk

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

None None
ecs:DetachNetworkInterface DetachNetworkInterface update

*NetworkInterface

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

*Instance

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

None None
ecs:CreateDiagnosticReport CreateDiagnosticReport create

*All Resource

*

None None
ecs:DescribeDedicatedHostClusters DescribeDedicatedHostClusters get

DedicatedHostCluster

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

DedicatedHostCluster

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

None None
ecs:DescribeImagePipelines DescribeImagePipelines get

*ImagePipeline

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

*ImagePipeline

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

None None
ecs:ModifyLaunchTemplateDefaultVersion ModifyLaunchTemplateDefaultVersion update

LaunchTemplate

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

None None
ecs:DeleteCommand DeleteCommand delete

*Command

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

None None
ecs:ModifyPortRangeList ModifyPortRangeList update

*PortRangeList

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

None None
ecs:ModifyInstanceNetworkSpec ModifyInstanceNetworkSpec update

*Instance

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

ecs:AssociatePublicIpAddress

None
ecs:ResetDiskDefaultKMSKeyId ResetDiskDefaultKMSKeyId none

*All Resource

*

None None
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

None
ecs:DisableDiskEncryptionByDefault DisableDiskEncryptionByDefault none

*All Resource

*

None None
ecs:ReInitDisk ReInitDisk update

*Disk

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

ecs:PasswordCustomized

None
ecs:DescribeSendFileResults DescribeSendFileResults get

Instance

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

None None
ecs:ModifyPrepayInstanceSpec ModifyPrepayInstanceSpec update

*Instance

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

None None
ecs:RenewReservedInstances RenewReservedInstances create

*ReservedInstance

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

None None
ecs:ModifyInstanceClockOptions ModifyInstanceClockOptions update

*All Resource

*

None None
ecs:DescribeDiagnosticMetrics DescribeDiagnosticMetrics get

*All Resource

*

None None
ecs:ListTagResources ListTagResources get

*All Resource

*

None None
ecs:DeleteNetworkInterface DeleteNetworkInterface delete

*NetworkInterface

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

None None
ecs:ModifyImageAttribute ModifyImageAttribute update

*Image

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

None None
ecs:RedeployInstance RedeployInstance update

*Instance

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

None None
ecs:ModifyCapacityReservation ModifyCapacityReservation update

*CapacityReservation

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

None None
ecs:ModifyPrefixList ModifyPrefixList update

*PrefixList

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

None None
ecs:AssignIpv6Addresses AssignIpv6Addresses create

*NetworkInterface

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

None None
ecs:ListPluginStatus ListPluginStatus get

*Instance

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

None None
ecs:ModifyReservedInstanceAttribute ModifyReservedInstanceAttribute update

*ReservedInstance

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

None None
ecs:DescribeImageSharePermission DescribeImageSharePermission get

*Image

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

None None
ecs:ModifySecurityGroupPolicy ModifySecurityGroupPolicy update

*SecurityGroup

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

None None
ecs:ModifyInstanceVpcAttribute ModifyInstanceVpcAttribute update

*Instance

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

*VSwitch

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

vpc:tag

vpc:VPC

None
ecs:ReleaseCapacityReservation ReleaseCapacityReservation delete

*CapacityReservation

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

None None
ecs:DeleteSnapshot DeleteSnapshot delete

*Snapshot

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

None None
ecs:EndTerminalSession EndTerminalSession update

*All Resource

*

None None
ecs:DescribeSnapshots DescribeSnapshots get

Snapshot

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

Snapshot

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

None None
ecs:ResetDisks ResetDisks update

*Disk

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

*Snapshot

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

None None
ecs:RenewInstance RenewInstance update

*Instance

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

None None
ecs:DescribePortRangeLists DescribePortRangeLists list

*PortRangeList

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

PortRangeList

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

None None
ecs:DescribeSnapshotMonitorData DescribeSnapshotMonitorData get

*All Resource

*

None None
ecs:DeletePrefixList DeletePrefixList delete

*PrefixList

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

None None
ecs:DescribeDiagnosticReportAttributes DescribeDiagnosticReportAttributes get

*All Resource

*

None None
ecs:DescribeCapacityReservations DescribeCapacityReservations get

*CapacityReservation

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

None None
ecs:CreateKeyPair CreateKeyPair create

*KeyPair

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

None None
ecs:StopInstances StopInstances update

*Instance

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

None None
ecs:ModifyNetworkInterfaceAttribute ModifyNetworkInterfaceAttribute update

*NetworkInterface

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

*SecurityGroup

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

None None
ecs:DeleteLaunchTemplate DeleteLaunchTemplate delete

LaunchTemplate

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

None None
ecs:EnableDiskEncryptionByDefault EnableDiskEncryptionByDefault none

*All Resource

*

None None
ecs:CancelCopyImage CancelCopyImage update

*Image

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

None None
ecs:DescribePrice DescribePrice get

*All Resource

*

None None
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}

None None
ecs:DetachClassicLinkVpc DetachClassicLinkVpc update

*Instance

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

*VPC

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

None None
ecs:AttachInstanceRamRole AttachInstanceRamRole update

*Instance

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

*Role

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

None

ram:PassRole

ecs:ModifyElasticityAssurance ModifyElasticityAssurance update

*ElasticityAssurance

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

None None
ecs:CreateDiagnosticMetricSet CreateDiagnosticMetricSet create

*All Resource

*

None None
ecs:DescribeLimitation DescribeLimitation get

*All Resource

*

None None
ecs:DescribeInstanceMonitorData DescribeInstanceMonitorData get

*Instance

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

None None
ecs:CreateLaunchTemplate CreateLaunchTemplate create

*LaunchTemplate

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

None None
ecs:ModifyElasticityAssuranceAutoRenewAttribute ModifyElasticityAssuranceAutoRenewAttribute update

*ElasticityAssurance

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

None None
ecs:AllocateDedicatedHosts AllocateDedicatedHosts create

*DedicatedHost

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

None None
ecs:CreateAutoSnapshotPolicy CreateAutoSnapshotPolicy create

*AutoSnapshotPolicy

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

None None
ecs:RemoveTags RemoveTags delete

*All Resource

*

None None
ecs:ConvertNatPublicIpToEip ConvertNatPublicIpToEip update

*Instance

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

None None
ecs:ModifyDiskDefaultKMSKeyId ModifyDiskDefaultKMSKeyId update

*All Resource

*

None None
ecs:CancelImagePipelineExecution CancelImagePipelineExecution update

*ImagePipeline

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

None None
ecs:DescribeCapacityReservationInstances DescribeCapacityReservationInstances get

*CapacityReservation

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

None None
ecs:CreateNetworkInterfacePermission CreateNetworkInterfacePermission create

*NetworkInterface

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

None None
ecs:DescribeDiskDefaultKMSKeyId DescribeDiskDefaultKMSKeyId get

*DiskEncryptionDefaultConfig

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

None None
ecs:CreateActivation CreateActivation create

*Activation

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

None None
ecs:CreateElasticityAssurance CreateElasticityAssurance create

*ElasticityAssurance

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

None None
ecs:ModifyImageSharePermission ModifyImageSharePermission update

*Image

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

None None
ecs:DescribeInstanceAutoRenewAttribute DescribeInstanceAutoRenewAttribute list

Instance

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

Instance

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

None None
ecs:InvokeCommand InvokeCommand update

*Command

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

*Instance

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

ecs:CommandRunAs

None
ecs:DeleteImagePipeline DeleteImagePipeline delete

*ImagePipeline

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

None None
ecs:DescribeSnapshotGroups DescribeSnapshotGroups get

SnapshotGroup

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

SnapshotGroup

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

None None
ecs:ModifySecurityGroupAttribute ModifySecurityGroupAttribute update

*SecurityGroup

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

None None
ecs:EnableNetworkInterfaceQoS EnableNetworkInterfaceQoS update

*NetworkInterface

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

None None
ecs:CreateImage CreateImage create

*Image

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

Instance

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

Snapshot

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

None None
ecs:DeleteDiagnosticReports DeleteDiagnosticReports delete

*All Resource

*

None None
ecs:DescribeBandwidthLimitation DescribeBandwidthLimitation get

*Instance

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

None None
ecs:DescribeStorageCapacityUnits DescribeStorageCapacityUnits get

StorageCapacityUnit

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

StorageCapacityUnit

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

None None
ecs:DisableActivation DisableActivation update

*Activation

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

None None
ecs:PurchaseStorageCapacityUnit PurchaseStorageCapacityUnit create

*StorageCapacityUnit

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

None None
ecs:StartInstance StartInstance update

*Instance

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

None None
ecs:DescribeAutoProvisioningGroupInstances DescribeAutoProvisioningGroupInstances get

*AutoProvisioningGroup

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

None None
ecs:ModifyInstanceAttribute ModifyInstanceAttribute update

*Instance

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

SecurityGroup

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

ecs:tag

ecs:PasswordCustomized

None
ecs:ModifyInstanceNetworkOptions ModifyInstanceNetworkOptions update

*Instance

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

None None
ecs:DeletePlanMaintenanceWindow DeletePlanMaintenanceWindow delete

*All Resource

*

None None
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

None
ecs:DescribeInvocations DescribeInvocations get

Instance

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

Command

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

None None
ecs:DescribeNetworkInterfacePermissions DescribeNetworkInterfacePermissions get

NetworkInterface

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

None None
ecs:ModifyInvocationAttribute ModifyInvocationAttribute update

*Invocation

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

Instance

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

None None
ecs:DescribeDedicatedHosts DescribeDedicatedHosts get

DedicatedHost

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

DedicatedHost

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

None None
ecs:RebootInstances RebootInstances update

*Instance

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

None None
ecs:CreateDeploymentSet CreateDeploymentSet create

*All Resource

*

None None
ecs:CreateSnapshot CreateSnapshot create

*Disk

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

*Snapshot

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

None None
ecs:ModifySecurityGroupRule ModifySecurityGroupRule update

*All Resource

*

ecs:SecurityGroupIpProtocols

ecs:SecurityGroupSourceCidrIps

None
ecs:DescribeLaunchTemplateVersions DescribeLaunchTemplateVersions list

LaunchTemplate

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

LaunchTemplate

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

None None
ecs:DescribeReservedInstanceAutoRenewAttribute DescribeReservedInstanceAutoRenewAttribute get

*ReservedInstance

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

None None
ecs:DetachInstanceRamRole DetachInstanceRamRole update

*Instance

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

*Role

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

None None
ecs:AttachClassicLinkVpc AttachClassicLinkVpc update

*Instance

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

*VPC

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

vpc:tag

None
ecs:DescribeDisks DescribeDisks list

Disk

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

Disk

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

None None
ecs:ReleasePublicIpAddress ReleasePublicIpAddress delete

*Instance

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

None None
ecs:DescribeDedicatedHostAutoRenew DescribeDedicatedHostAutoRenew get

*DedicatedHost

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

None None
ecs:CreateImagePipeline CreateImagePipeline create

*ImagePipeline

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

None

ram:CreateServiceLinkedRole

ecs:DescribeUserBusinessBehavior DescribeUserBusinessBehavior get

*All Resource

*

None None
ecs:DescribeDiskEncryptionByDefaultStatus DescribeDiskEncryptionByDefaultStatus none

*DiskEncryptionDefaultConfig

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

None None
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

None
ecs:CreatePlanMaintenanceWindow CreatePlanMaintenanceWindow create

*All Resource

*

None None
ecs:ModifyInstanceSpec ModifyInstanceSpec update

*Instance

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

ecs:AssociatePublicIpAddress

None
ecs:DescribeLockedSnapshots DescribeLockedSnapshots list

Snapshot

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

Snapshot

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

None None
ecs:DescribePrefixLists DescribePrefixLists get

*PrefixList

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

None None
ecs:ApplyAutoSnapshotPolicy ApplyAutoSnapshotPolicy update

*Disk

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

*AutoSnapshotPolicy

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

None None
ecs:DeleteKeyPairs DeleteKeyPairs delete

*KeyPair

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

None None
ecs:CancelAutoSnapshotPolicy CancelAutoSnapshotPolicy update

*Disk

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

AutoSnapshotPolicy

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

None None
ecs:DescribeReservedInstances DescribeReservedInstances get

ReservedInstance

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

ReservedInstance

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

None None
ecs:ModifyDedicatedHostAttribute ModifyDedicatedHostAttribute update

*DedicatedHost

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

DedicatedHostCluster

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

None None
ecs:DescribeNetworkInterfaceAttribute DescribeNetworkInterfaceAttribute get

*NetworkInterface

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

None None
ecs:RedeployDedicatedHost RedeployDedicatedHost update

*DedicatedHost

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

None None
ecs:DisableNetworkInterfaceQoS DisableNetworkInterfaceQoS update

*NetworkInterface

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

None None
ecs:ModifyDedicatedHostsChargeType ModifyDedicatedHostsChargeType update

*All Resource

*

None None
ecs:CreateCommand CreateCommand create

*Command

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

None None
ecs:DescribePlanMaintenanceWindows DescribePlanMaintenanceWindows list

*All Resource

*

None None
ecs:GetInstanceScreenshot GetInstanceScreenshot get

*Instance

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

None None
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

None
ecs:ModifyInstanceMetadataOptions ModifyInstanceMetadataOptions update

*Instance

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

None None
ecs:ModifyDedicatedHostClusterAttribute ModifyDedicatedHostClusterAttribute update

*ddhcluster

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

None None
ecs:DeleteNetworkInterfacePermission DeleteNetworkInterfacePermission delete

*NetworkInterface

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

None None
ecs:DescribeInstanceRamRole DescribeInstanceRamRole get

Instance

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

Role

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

None None
ecs:ModifySnapshotCategory ModifySnapshotCategory update

*Snapshot

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

ecs:tag

None
ecs:DescribeTags DescribeTags get

*All Resource

*

None None
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

None
ecs:ModifyReservedInstanceAutoRenewAttribute ModifyReservedInstanceAutoRenewAttribute update

*ReservedInstance

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

None None
ecs:DescribeAutoProvisioningGroups DescribeAutoProvisioningGroups get

*All Resource

*

None None
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}

None None
ecs:DescribeInstanceHistoryEvents DescribeInstanceHistoryEvents get

*All Resource

*

None None
ecs:PurchaseElasticityAssurance PurchaseElasticityAssurance update

*ElasticityAssurance

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

None None
ecs:CreateCapacityReservation CreateCapacityReservation create

*CapacityReservation

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

None None
ecs:DeleteDeploymentSet DeleteDeploymentSet delete

*DeploymentSet

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

None None
ecs:ModifyDiskChargeType ModifyDiskChargeType update

*Instance

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

None None
ecs:DeleteHpcCluster DeleteHpcCluster delete

*All Resource

*

None None
ecs:DescribeSnapshotLinks DescribeSnapshotLinks get

*All Resource

*

None None
ecs:DescribeDeploymentSets DescribeDeploymentSets get

*DeploymentSet

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

None None
ecs:AuthorizeSecurityGroupEgress AuthorizeSecurityGroupEgress create

*All Resource

*

ecs:SecurityGroupIpProtocols

ecs:SecurityGroupSourceCidrIps

None
ecs:DeleteSecurityGroup DeleteSecurityGroup delete

*SecurityGroup

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

None None
ecs:StartTerminalSession StartTerminalSession update

*Instance

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

None None
ecs:OpenSnapshotService OpenSnapshotService create

*All Resource

*

None None
ecs:SendFile SendFile update

*Instance

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

None None
ecs:DescribeTerminalSessions DescribeTerminalSessions list

*Instance

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

None None
ecs:AttachKeyPair AttachKeyPair update

*Instance

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

*KeyPair

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

None None
ecs:DescribeTaskAttribute DescribeTaskAttribute get

*All Resource

*

None None
ecs:ModifyInstanceAutoReleaseTime ModifyInstanceAutoReleaseTime update

*Instance

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

None None
ecs:AuthorizeSecurityGroup AuthorizeSecurityGroup create

*All Resource

*

ecs:SecurityGroupIpProtocols

ecs:SecurityGroupSourceCidrIps

None
ecs:ModifyCloudAssistantSettings ModifyCloudAssistantSettings update

*ServiceSettings

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

None None
ecs:CancelSimulatedSystemEvents CancelSimulatedSystemEvents update

*All Resource

*

None None
ecs:ResizeDisk ResizeDisk update

*Disk

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

None None
ecs:DescribeImages DescribeImages get

Image

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

Image

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

None None
ecs:ImportKeyPair ImportKeyPair create

*KeyPair

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

None None
ecs:DescribeDisksFullStatus DescribeDisksFullStatus list

Disk

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

Disk

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

None None
ecs:ModifyInstanceChargeType ModifyInstanceChargeType update

*Instance

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

None None
ecs:CreateDedicatedHostCluster CreateDedicatedHostCluster create

*All Resource

*

None None
ecs:JoinSecurityGroup JoinSecurityGroup update

*Instance

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

*SecurityGroup

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

None None
ecs:StartInstances StartInstances update

*Instance

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

None None
ecs:DescribeAutoSnapshotPolicyAssociations DescribeAutoSnapshotPolicyAssociations get

*All Resource

*

None None
ecs:UnlockSnapshot UnlockSnapshot update

*Snapshot

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

None None
ecs:ReActivateInstances ReActivateInstances update

*Instance

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

None None
ecs:CreateHpcCluster CreateHpcCluster create

*HpcCluster

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

None None
ecs:DescribeSnapshotPackage DescribeSnapshotPackage get

*All Resource

*

None None
ecs:ExportImage ExportImage update

*Image

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

None None
ecs:DescribeManagedInstances DescribeManagedInstances get

Instance

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

None None
ecs:DescribeEniMonitorData DescribeEniMonitorData get

NetworkInterface

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

*Instance

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

None None
ecs:DescribeDiskMonitorData DescribeDiskMonitorData get

*Disk

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

None None
ecs:CopySnapshot CopySnapshot create

*Snapshot

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

None None
ecs:DescribeActivations DescribeActivations get

Activation

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

Activation

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

None None
ecs:DescribeInstanceStatus DescribeInstanceStatus list

*All Resource

*

None None
ecs:InstallCloudAssistant InstallCloudAssistant update

*Instance

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

None None
ecs:ModifyDeploymentSetAttribute ModifyDeploymentSetAttribute update

*DeploymentSet

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

None None
ecs:DeleteSnapshotGroup DeleteSnapshotGroup delete

*SnapshotGroup

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

None None
ecs:ModifyAutoSnapshotPolicyEx ModifyAutoSnapshotPolicyEx update

*Snapshot

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

None None
ecs:ModifyDedicatedHostAutoReleaseTime ModifyDedicatedHostAutoReleaseTime update

*DedicatedHost

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

None None
ecs:RevokeSecurityGroup RevokeSecurityGroup delete

*SecurityGroup

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

ecs:tag

ecs:tag

ecs:tag

None
ecs:DescribeKeyPairs DescribeKeyPairs get

KeyPair

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

KeyPair

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

None None
ecs:DescribeAutoProvisioningGroupHistory DescribeAutoProvisioningGroupHistory get

*All Resource

*

None None
ecs:ResetDisk ResetDisk update

*Disk

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

*Snapshot

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

None None
ecs:DeleteImage DeleteImage delete

*Image

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

None None
ecs:ModifyDiagnosticMetricSet ModifyDiagnosticMetricSet update

*All Resource

*

None None
ecs:StopInstance StopInstance update

*Instance

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

None None
ecs:DescribeTasks DescribeTasks get

*All Resource

*

None None
ecs:AttachNetworkInterface AttachNetworkInterface update

*NetworkInterface

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

*Instance

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

None None
ecs:DeleteActivation DeleteActivation update

*activation

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

None None
ecs:RenewElasticityAssurances RenewElasticityAssurances create

*ElasticityAssurance

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

None None
ecs:GetInstanceConsoleOutput GetInstanceConsoleOutput get

*Instance

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

None None
ecs:ModifyAutoProvisioningGroup ModifyAutoProvisioningGroup update

*autoprovisioninggroup

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

None

ram:CreateServiceLinkedRole

ecs:DescribeInstanceModificationPrice DescribeInstanceModificationPrice get

*Instance

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

None None
ecs:StartImagePipelineExecution StartImagePipelineExecution update

*ImagePipeline

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

None None
ecs:DescribeInstanceMaintenanceAttributes DescribeInstanceMaintenanceAttributes get

*All Resource

*

None None
ecs:DeleteDiagnosticMetricSets DeleteDiagnosticMetricSets delete

*All Resource

*

None None
ecs:DescribeImageComponents DescribeImageComponents get

*ImageComponent

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

*ImageComponent

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

None None
ecs:DescribeCloudAssistantStatus DescribeCloudAssistantStatus get

*Instance

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

None None
ecs:CreateSecurityGroup CreateSecurityGroup create

*SecurityGroup

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

*VPC

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

None None
ecs:ModifyCommand ModifyCommand update

*Command

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

None None
ecs:ModifyInstanceDeployment ModifyInstanceDeployment update

DedicatedHost

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

*Instance

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

None None
ecs:DeletePortRangeList DeletePortRangeList delete

*PortRangeList

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

None None
ecs:RebootInstance RebootInstance update

*Instance

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

None None
ecs:DescribePortRangeListEntries DescribePortRangeListEntries list

*PortRangeList

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

None None
ecs:DescribeResourceByTags DescribeResourceByTags get

*All Resource

*

None None
ecs:DescribePrefixListAttributes DescribePrefixListAttributes get

*PrefixList

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

None None
ecs:DeleteInstance DeleteInstance delete

*Instance

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

None None
ecs:ModifyPlanMaintenanceWindow ModifyPlanMaintenanceWindow update

*All Resource

*

None None
ecs:DetachDisk DetachDisk update

*Disk

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

*Instance

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

None None
ecs:ModifyInstanceAutoRenewAttribute ModifyInstanceAutoRenewAttribute update

*Instance

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

None None
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

None
ecs:ReportInstancesStatus ReportInstancesStatus get

*Instance

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

None None
ecs:DescribeRenewalPrice DescribeRenewalPrice get

DedicatedHost

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

Instance

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

None None
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}

None None
ecs:ModifyDiskSpec ModifyDiskSpec update

*Disk

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

None None
ecs:UnassignIpv6Addresses UnassignIpv6Addresses delete

*NetworkInterface

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

None None
ecs:DescribeCommands DescribeCommands get

Command

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

Command

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

None None
ecs:RenewDedicatedHosts RenewDedicatedHosts update

*DedicatedHost

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

None None
ecs:ModifyReservedInstances ModifyReservedInstances update

*ReservedInstance

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

None None
ecs:DescribeDiagnosticMetricSets DescribeDiagnosticMetricSets get

*All Resource

*

None None
ecs:ModifySnapshotGroup ModifySnapshotGroup update

*SnapshotGroup

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

None None
ecs:DeleteLaunchTemplateVersion DeleteLaunchTemplateVersion delete

*LaunchTemplate

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

None None
ecs:DescribeCloudAssistantSettings DescribeCloudAssistantSettings list

*ServiceSettings

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

None None
ecs:CreateAutoProvisioningGroup CreateAutoProvisioningGroup create

*All Resource

*

None

ram:CreateServiceLinkedRole

ecs:LeaveSecurityGroup LeaveSecurityGroup update

*Instance

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

*SecurityGroup

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

None None
ecs:ModifyUserBusinessBehavior ModifyUserBusinessBehavior update

*All Resource

*

None None
ecs:DeleteAutoSnapshotPolicy DeleteAutoSnapshotPolicy delete

*AutoSnapshotPolicy

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

None None
ecs:CreateSnapshotGroup CreateSnapshotGroup create

Instance

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

Disk

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

None None
ecs:DeleteInstances DeleteInstances delete

*Instance

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

None None
ecs:DeleteAutoProvisioningGroup DeleteAutoProvisioningGroup delete

*AutoProvisioningGroup

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

None

ram:CreateServiceLinkedRole

ecs:AddTags AddTags create

*All Resource

*

None None
ecs:AllocatePublicIpAddress AllocatePublicIpAddress create

*Instance

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

None None
ecs:ModifyInstanceMaintenanceAttributes ModifyInstanceMaintenanceAttributes update

*Instance

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

None None
ecs:CancelTask CancelTask update

*All Resource

*

None None
ecs:DescribeElasticityAssuranceInstances DescribeElasticityAssuranceInstances get

*All Resource

*

None None
ecs:CreatePrefixList CreatePrefixList create

*All Resource

*

None None
ecs:DescribeSnapshotsUsage DescribeSnapshotsUsage get

*All Resource

*

None None
ecs:DescribeImageSupportInstanceTypes DescribeImageSupportInstanceTypes get

*Image

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

None None
ecs:AttachDisk AttachDisk update

*Disk

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

*Instance

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

ecs:LoginAsNonRoot

ecs:PasswordCustomized

None
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}

None None
ecs:DescribeInstanceAttribute DescribeInstanceAttribute get

*Instance

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

None None
ecs:DescribeAccountAttributes DescribeAccountAttributes get

*All Resource

*

None None
ecs:RevokeSecurityGroupEgress RevokeSecurityGroupEgress delete

*SecurityGroup

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

ecs:tag

ecs:tag

ecs:tag

None
ecs:DeleteImageComponent DeleteImageComponent delete

*ImageComponent

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

None None
ecs:ModifyHpcClusterAttribute ModifyHpcClusterAttribute update

*All Resource

*

None None
ecs:DeleteDisk DeleteDisk delete

*Disk

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

None None
ecs:DescribeUserData DescribeUserData get

*Instance

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

None None
ecs:DescribePrefixListAssociations DescribePrefixListAssociations get

*PrefixList

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

None None
ecs:ModifyManagedInstance ModifyManagedInstance update

*Instance

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

None None
ecs:DescribeInvocationResults DescribeInvocationResults get

Command

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

Instance

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

None None
ecs:DescribeInstanceVncUrl DescribeInstanceVncUrl get

*Instance

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

None None
ecs:DescribePortRangeListAssociations DescribePortRangeListAssociations list

*PortRangeList

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

None None
ecs:LockSnapshot LockSnapshot update

*Snapshot

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

None None
ecs:ModifyStorageCapacityUnitAttribute ModifyStorageCapacityUnitAttribute update

*StorageCapacityUnit

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

None None
ecs:AssignPrivateIpAddresses AssignPrivateIpAddresses create

*NetworkInterface

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

None None
ecs:DescribeInstanceAttachmentAttributes DescribeInstanceAttachmentAttributes get

*Instance

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

None None
ecs:DescribeDiagnosticReports DescribeDiagnosticReports get

*All Resource

*

None None
ecs:AcceptInquiredSystemEvent AcceptInquiredSystemEvent update

*All Resource

*

None None
ecs:DescribeLaunchTemplates DescribeLaunchTemplates get

LaunchTemplate

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

LaunchTemplate

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

None None
ecs:DescribeHpcClusters DescribeHpcClusters get

*HpcCluster

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

None None
ecs:CreateImageComponent CreateImageComponent create

*ImageComponent

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

None None
ecs:DescribeSecurityGroupAttribute DescribeSecurityGroupAttribute get

*SecurityGroup

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

ecs:tag

None
ecs:ModifySnapshotAttribute ModifySnapshotAttribute update

*Snapshot

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

None None
ecs:ModifyDiskAttribute ModifyDiskAttribute update

*Disk

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

None None
ecs:DescribeResourcesModification DescribeResourcesModification get

*Instance

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

None None
ecs:DescribeSecurityGroupReferences DescribeSecurityGroupReferences get

*SecurityGroup

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

None None
ecs:DeleteDedicatedHostCluster DeleteDedicatedHostCluster delete

*DedicatedHostCluster

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

None None
ecs:DescribeElasticityAssuranceAutoRenewAttribute DescribeElasticityAssuranceAutoRenewAttribute get

*ElasticityAssurance

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

None None
ecs:DescribeNetworkInterfaces DescribeNetworkInterfaces get

NetworkInterface

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

None None
ecs:DescribeElasticityAssurances DescribeElasticityAssurances get

*ElasticityAssurance

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

None None
ecs:ImportImage ImportImage update

*Image

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

None None
ecs:UnassignPrivateIpAddresses UnassignPrivateIpAddresses delete

*NetworkInterface

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

None None
ecs:DescribeInstances DescribeInstances list

Instance

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

Instance

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

ResourceOwner

None
vpc:CreateForwardEntry CreateForwardEntry create

*ForwardTable

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

None None
vpc:ModifyRouterInterfaceAttribute ModifyRouterInterfaceAttribute update

*RouterInterface

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

vpc:TargetAccountRDId

None
vpc:ModifyHaVipAttribute ModifyHaVipAttribute update

*HaVip

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

None None
vpc:EnablePhysicalConnection EnablePhysicalConnection update

*PhysicalConnection

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

None None
vpc:CreatePhysicalConnection CreatePhysicalConnection create

*All Resource

*

None None
vpc:DeleteVirtualBorderRouter DeleteVirtualBorderRouter delete

*VirtualBorderRouter

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

None None
vpc:ModifyVSwitchAttribute ModifyVSwitchAttribute update

*VSwitch

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

None None
vpc:CreateRouterInterface CreateRouterInterface create

*All Resource

*

vpc:TargetAccountRDId

None
vpc:ReleaseEipAddress ReleaseEipAddress update

*Address

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

vpc:tag

None
vpc:DeleteNatGateway DeleteNatGateway delete

*NatGateway

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

None None
vpc:CreateRouteEntry CreateRouteEntry create

*RouteTable

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

None None
vpc:ModifyBandwidthPackageSpec ModifyBandwidthPackageSpec update

*BandwidthPackage

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

None None
vpc:RemoveBandwidthPackageIps RemoveBandwidthPackageIps delete

*BandwidthPackage

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

None None
vpc:CancelPhysicalConnection CancelPhysicalConnection update

*PhysicalConnection

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

None None
vpc:DeletePhysicalConnection DeletePhysicalConnection delete

*PhysicalConnection

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

None None
vpc:DeactivateRouterInterface DeactivateRouterInterface update

*RouterInterface

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

None None
vpc:DescribeHaVips DescribeHaVips get

*All Resource

*

None None
vpc:ModifyForwardEntry ModifyForwardEntry update

*ForwardTable

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

None None
vpc:CreateHaVip CreateHaVip create

*All Resource

*

None None
vpc:RecoverVirtualBorderRouter RecoverVirtualBorderRouter update

*VirtualBorderRouter

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

None None
vpc:DescribeVRouters DescribeVRouters get

*All Resource

*

vpc:VPC

None
vpc:ModifyEipAddressAttribute ModifyEipAddressAttribute update

*Address

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

None None
vpc:DescribeBandwidthPackages DescribeBandwidthPackages get

*All Resource

*

None None
vpc:ConnectRouterInterface ConnectRouterInterface update

*RouterInterface

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

None None
vpc:DescribeVirtualBorderRoutersForPhysicalConnection DescribeVirtualBorderRoutersForPhysicalConnection get

*PhysicalConnection

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

vpc:PhysicalConnection

None
vpc:AllocateEipAddress AllocateEipAddress update

*All Resource

*

None None
vpc:ModifyPhysicalConnectionAttribute ModifyPhysicalConnectionAttribute update

*PhysicalConnection

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

None None
vpc:AddBandwidthPackageIps AddBandwidthPackageIps create

*BandwidthPackage

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

None None
vpc:DeleteRouteEntry DeleteRouteEntry delete

*RouteTable

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

None None
vpc:ModifyRouterInterfaceSpec ModifyRouterInterfaceSpec update

*RouterInterface

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

None None
vpc:DeleteVSwitch DeleteVSwitch delete

*VSwitch

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

None None
vpc:ModifyVpcAttribute ModifyVpcAttribute update

*VPC

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

vpc:tag

None
vpc:DescribeRouteTables DescribeRouteTables get

*RouteTable

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

vpc:VBR

vpc:VRouter

None
vpc:AssociateEipAddress AssociateEipAddress update

*All Resource

*

None None
vpc:DeleteRouterInterface DeleteRouterInterface delete

*RouterInterface

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

None None
vpc:CreateVpc CreateVpc create

*All Resource

*

None None
vpc:DeleteBandwidthPackage DeleteBandwidthPackage delete

*BandwidthPackage

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

None None
vpc:DescribeEipMonitorData DescribeEipMonitorData get

*Address

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

None None
vpc:DeleteForwardEntry DeleteForwardEntry delete

*ForwardTable

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

None None
vpc:DeleteVpc DeleteVpc delete

*VPC

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

vpc:tag

None
vpc:TerminateVirtualBorderRouter TerminateVirtualBorderRouter update

*VirtualBorderRouter

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

None None
vpc:AssociateHaVip AssociateHaVip update

*Instance

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

*HaVip

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

None None
vpc:DescribeRouterInterfaces DescribeRouterInterfaces get

*RouterInterface

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

None None
vpc:DescribePhysicalConnections DescribePhysicalConnections get

*All Resource

*

None None
vpc:DeleteHaVip DeleteHaVip delete

*HaVip

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

None None
vpc:DescribeNatGateways DescribeNatGateways get

*All Resource

*

None None
vpc:CreateVSwitch CreateVSwitch create

*All Resource

*

vpc:tag

None
vpc:DescribeVirtualBorderRouters DescribeVirtualBorderRouters get

*VirtualBorderRouter

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

None None
vpc:ActivateRouterInterface ActivateRouterInterface update

*RouterInterface

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

None None
vpc:DescribeEipAddresses DescribeEipAddresses get

*Address

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

None None
vpc:DescribeVpcs DescribeVpcs get

*All Resource

*

vpc:tag

None
vpc:DescribeForwardTableEntries DescribeForwardTableEntries get

*ForwardTable

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

None None
vpc:TerminatePhysicalConnection TerminatePhysicalConnection update

*PhysicalConnection

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

None None
vpc:ModifyVRouterAttribute ModifyVRouterAttribute update

*VRouter

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

None None
vpc:CreateVirtualBorderRouter CreateVirtualBorderRouter create

*All Resource

*

None None
vpc:DescribeNewProjectEipMonitorData DescribeNewProjectEipMonitorData get

*Address

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

None None
vpc:UnassociateEipAddress UnassociateEipAddress update

*All Resource

*

None None
vpc:CreateNatGateway CreateNatGateway create

*All Resource

*

None None
vpc:DescribeVSwitches DescribeVSwitches get

*All Resource

*

vpc:VPC

None
vpc:ModifyVirtualBorderRouterAttribute ModifyVirtualBorderRouterAttribute update

*VirtualBorderRouter

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

None None
vpc:UnassociateHaVip UnassociateHaVip delete

*Instance

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

*HaVip

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

None None

Resource

The following table lists the resources defined by Elastic Compute Service. Specify them in the Resource element of RAM policy statements to grant permissions for specific operations. They are uniquely identified by ARNs. Format: acs:{#ramcode}:{#regionId}:{#accountId}:{#resourceType}:

  • acs: The initialism of Alibaba Cloud service, which indicates the public cloud of Alibaba Cloud.

  • {#ramcode}: The code used in RAM to indicate an Alibaba Cloud service.

  • {#regionId}: The region ID. If the resource covers all regions, set it to an asterisk (*).

  • {#accountId}: The ID of the Alibaba Cloud account. If the resource covers all Alibaba Cloud accounts, set it to an asterisk (*).

  • {#resourceType}: The service-defined resource identifier. It supports a hierarchical structure, which is similar to a file path. If the statement covers global resources, set it to an asterisk (*).

Resource type

ARN

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

Condition

The following table lists the product-level condition keys defined by Elastic Compute Service. You can also use Alibaba Cloud's Common condition keys. Specify these keys in the Condition element of RAM policy statements to define granular authorization rules. In the condition key, specify the condition values in the Condition_value element of the policy.

Each condition key has a specific data type, such as string, number, Boolean, or IP address. The data type determines which conditional operators can be used to compare the request values against policy values. You must specify the conditional operators compatible with the data type of the condition key. Mismatched operators will invalidate the policy. See Condition operator for valid combinations.

Condition key

Description

Data type

ecs:ImagePlatform Operating system type of the image String
ecs:SecurityEnhancementStrategy Whether to open security reinforcement. String
vpc:CreateDefaultVpc Whether a default VPC can be created Boolean
ecs:AssociatePublicIpAddress Whether to support the public network IP allocation of resources in the process of creation and change, that is, whether to allow the operation of resources to make the public network bandwidth greater than 0Mbit/s. Boolean
ecs:PasswordInherit Whether the instance inherits the image password. Boolean
vpc:IsDefaultVSwitch Whether it is the default VSwitch and whether the default VSwitch can be used Boolean
ecs:IsSystemDiskEncrypted Whether it is an encryption system disk String
ecs:IsSystemDiskByokEncrypted Whether the master key encrypts the system disk. String
ecs:ImageSource Image Source String
ecs:PasswordCustomized Whether a custom password is used Boolean
ecs:CommandRunAs User in the operating system that executes cloud assistant commands String
ecs:SecurityHardeningMode Whether to enforce hardened mode (IMDSv2) when accessing instance metadata Boolean
ecs:SecurityGroupSourceCidrIps The source IPv4 CIDR segment of the security group that sets access permissions Array
vpc:VPC Description: The resource ARN of the VPC. Example values: acs:vpc:cn-shanghai:1234567890:vpc/vpc-abc0123efg4567 *** String
ecs:IsDiskEncrypted Whether it is an encrypted data disk String
ecs:InstanceTypeFamily instance specification family String
ecs:InstanceChargeType The billing method of the instance String
ecs:ImageOwnerId Owner UID of the image. String
ecs:SecurityGroupIpProtocols Transport layer protocol with security group open Array
vpc:IsDefaultVpc Whether it is the default VPC Boolean
ecs:LoginAsNonRoot Whether to log on to the instance as non-root Boolean
ecs:IsDiskByokEncrypted Whether to encrypt the data disk with the primary key. String
ecs:InstanceType Instance specifications String
ecs:NotSpecifySecurityGroupId Whether the security group ID is not specified Boolean

How to create custom RAM policies?

You can create custom policies and grant them to RAM users, RAM user groups, or RAM roles. For instructions, see: