存取控制(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:AssignIpv6Addresses | AssignIpv6Addresses | create |
*NetworkInterface
|
無 | 無 |
| ecs:DescribeActivations | DescribeActivations | get |
Activation
Activation
|
無 | 無 |
| ecs:ModifyLaunchTemplateDefaultVersion | ModifyLaunchTemplateDefaultVersion | update |
LaunchTemplate
|
無 | 無 |
| ecs:ReInitDisk | ReInitDisk | update |
*Disk
|
ecs:PasswordCustomized |
無 |
| ecs:DeleteDiagnosticMetricSets | DeleteDiagnosticMetricSets | delete |
*All Resource
|
無 | 無 |
| ecs:DeleteLaunchTemplate | DeleteLaunchTemplate | delete |
LaunchTemplate
|
無 | 無 |
| ecs:ModifyDiagnosticMetricSet | ModifyDiagnosticMetricSet | update |
*All Resource
|
無 | 無 |
| ecs:DescribeCloudAssistantSettings | DescribeCloudAssistantSettings | list |
*ServiceSettings
|
無 | 無 |
| ecs:RevokeSecurityGroupEgress | RevokeSecurityGroupEgress | delete |
*SecurityGroup
|
ecs:tag ecs:tag ecs:tag |
無 |
| ecs:DescribeImageSupportInstanceTypes | DescribeImageSupportInstanceTypes | get |
*Image
|
無 | 無 |
| ecs:ModifyInstanceAttachmentAttributes | ModifyInstanceAttachmentAttributes | update |
*Instance
|
無 | 無 |
| ecs:AddTags | AddTags | create |
*All Resource
|
無 | 無 |
| ecs:DescribeDedicatedHosts | DescribeDedicatedHosts | get |
DedicatedHost
DedicatedHost
|
無 | 無 |
| ecs:StopInstance | StopInstance | update |
*Instance
|
無 | 無 |
| ecs:CreatePortRangeList | CreatePortRangeList | create |
*PortRangeList
|
無 | 無 |
| ecs:DescribePortRangeListAssociations | DescribePortRangeListAssociations | list |
*PortRangeList
|
無 | 無 |
| ecs:AcceptInquiredSystemEvent | AcceptInquiredSystemEvent | update |
*All Resource
|
無 | 無 |
| ecs:ModifyDiskDeployment | ModifyDiskDeployment | update |
*Disk
|
無 | 無 |
| ecs:DescribeInstanceStatus | DescribeInstanceStatus | list |
*All Resource
|
無 | 無 |
| ecs:LockSnapshot | LockSnapshot | update |
*Snapshot
|
無 | 無 |
| ecs:DescribeInstanceAttribute | DescribeInstanceAttribute | get |
*Instance
|
無 | 無 |
| ecs:DescribePrefixListAttributes | DescribePrefixListAttributes | get |
*PrefixList
|
無 | 無 |
| ecs:DescribeImageComponents | DescribeImageComponents | get |
*ImageComponent
*ImageComponent
|
無 | 無 |
| ecs:CreateElasticityAssurance | CreateElasticityAssurance | create |
*ElasticityAssurance
|
無 | 無 |
| ecs:AllocatePublicIpAddress | AllocatePublicIpAddress | create |
*Instance
|
無 | 無 |
| ecs:ModifySystemEventAttribute | ModifySystemEventAttribute | none |
*All Resource
|
無 | 無 |
| ecs:ModifyDiskDefaultKMSKeyId | ModifyDiskDefaultKMSKeyId | update |
*All Resource
|
無 | 無 |
| ecs:AttachDisk | AttachDisk | update |
*Disk
*Instance
|
ecs:LoginAsNonRoot ecs:PasswordCustomized |
無 |
| ecs:UnassignIpv6Addresses | UnassignIpv6Addresses | delete |
*NetworkInterface
|
無 | 無 |
| ecs:ModifySnapshotAttribute | ModifySnapshotAttribute | update |
*Snapshot
|
無 | 無 |
| ecs:ModifyDedicatedHostAttribute | ModifyDedicatedHostAttribute | update |
*DedicatedHost
DedicatedHostCluster
|
無 | 無 |
| ecs:ModifyCapacityReservation | ModifyCapacityReservation | update |
*CapacityReservation
|
無 | 無 |
| ecs:ModifyUserBusinessBehavior | ModifyUserBusinessBehavior | update |
*All Resource
|
無 | 無 |
| ecs:CreatePrefixList | CreatePrefixList | create |
*All Resource
|
無 | 無 |
| ecs:ModifyPrepayInstanceSpec | ModifyPrepayInstanceSpec | update |
*Instance
|
無 | 無 |
| ecs:DescribeImageSharePermission | DescribeImageSharePermission | get |
*Image
|
無 | 無 |
| ecs:ReActivateInstances | ReActivateInstances | update |
*Instance
|
無 | 無 |
| ecs:ModifySecurityGroupAttribute | ModifySecurityGroupAttribute | update |
*SecurityGroup
|
無 | 無 |
| ecs:ModifyDeploymentSetAttribute | ModifyDeploymentSetAttribute | update |
*DeploymentSet
|
無 | 無 |
| ecs:ModifyInstanceMaintenanceAttributes | ModifyInstanceMaintenanceAttributes | update |
*Instance
|
無 | 無 |
| ecs:ReleasePublicIpAddress | ReleasePublicIpAddress | delete |
*Instance
|
無 | 無 |
| ecs:CreateVsc | CreateVsc | create |
Vsc
*Instance
|
無 | 無 |
| ecs:LeaveSecurityGroup | LeaveSecurityGroup | update |
*Instance
*SecurityGroup
|
無 | 無 |
| ecs:DescribeSnapshots | DescribeSnapshots | get |
Snapshot
Snapshot
|
無 | 無 |
| ecs:RenewDedicatedHosts | RenewDedicatedHosts | update |
*DedicatedHost
|
無 | 無 |
| ecs:CreateSecurityGroup | CreateSecurityGroup | create |
*SecurityGroup
*VPC
|
無 | 無 |
| ecs:ModifyInstanceDeployment | ModifyInstanceDeployment | update |
DedicatedHost
*Instance
|
無 | 無 |
| ecs:DetachDisk | DetachDisk | update |
*Disk
*Instance
|
無 | 無 |
| ecs:CreateLaunchTemplate | CreateLaunchTemplate | create |
*LaunchTemplate
|
無 | 無 |
| 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:CreateLaunchTemplateVersion | CreateLaunchTemplateVersion | create |
*LaunchTemplate
|
無 | 無 |
| ecs:ModifyInstanceSpec | ModifyInstanceSpec | update |
*Instance
|
ecs:AssociatePublicIpAddress |
無 |
| ecs:CreateCommand | CreateCommand | create |
*Command
|
無 | 無 |
| ecs:DescribeUserData | DescribeUserData | get |
*Instance
|
無 | 無 |
| ecs:DescribeImagePipelines | DescribeImagePipelines | get |
*ImagePipeline
*ImagePipeline
|
無 | 無 |
| ecs:DescribePortRangeListEntries | DescribePortRangeListEntries | list |
*PortRangeList
|
無 | 無 |
| ecs:CreateNetworkInterface | CreateNetworkInterface | create |
*NetworkInterface
*SecurityGroup
*VSwitch
|
vpc:IsDefaultVSwitch vpc:IsDefaultVpc vpc:VPC vpc:tag vpc:tag vpc:tag |
無 |
| ecs:StopInstances | StopInstances | update |
*Instance
|
無 | 無 |
| ecs:RenewReservedInstances | RenewReservedInstances | create |
*ReservedInstance
|
無 | 無 |
| ecs:ModifySecurityGroupEgressRule | ModifySecurityGroupEgressRule | update |
*All Resource
|
ecs:tag ecs:tag ecs:SecurityGroupIpProtocols ecs:SecurityGroupSourceCidrIps |
無 |
| ecs:DescribeDedicatedHostAutoRenew | DescribeDedicatedHostAutoRenew | get |
*DedicatedHost
|
無 | 無 |
| ecs:DeleteDedicatedHostCluster | DeleteDedicatedHostCluster | delete |
*DedicatedHostCluster
|
無 | 無 |
| ecs:ModifyInstanceVncPasswd | ModifyInstanceVncPasswd | update |
*Instance
|
無 | 無 |
| ecs:DeletePlanMaintenanceWindow | DeletePlanMaintenanceWindow | delete |
*All Resource
|
無 | 無 |
| ecs:UnassignPrivateIpAddresses | UnassignPrivateIpAddresses | delete |
*NetworkInterface
|
無 | 無 |
| ecs:CancelAutoSnapshotPolicy | CancelAutoSnapshotPolicy | update |
*Disk
AutoSnapshotPolicy
|
無 | 無 |
| ecs:ReleaseCapacityReservation | ReleaseCapacityReservation | delete |
*CapacityReservation
|
無 | 無 |
| ecs:DescribePrice | DescribePrice | get |
*All Resource
|
無 | 無 |
| ecs:ModifyImageAttribute | ModifyImageAttribute | update |
*Image
|
無 | 無 |
| ecs:ModifyDedicatedHostAutoReleaseTime | ModifyDedicatedHostAutoReleaseTime | update |
*DedicatedHost
|
無 | 無 |
| ecs:DescribeDiskEncryptionByDefaultStatus | DescribeDiskEncryptionByDefaultStatus | none |
*DiskEncryptionDefaultConfig
|
無 | 無 |
| ecs:DescribeInstanceVncUrl | DescribeInstanceVncUrl | get |
*Instance
|
無 | 無 |
| ecs:CancelTask | CancelTask | update |
*All Resource
|
無 | 無 |
| ecs:EnableNetworkInterfaceQoS | EnableNetworkInterfaceQoS | update |
*NetworkInterface
|
無 | 無 |
| ecs:ModifyDedicatedHostsChargeType | ModifyDedicatedHostsChargeType | update |
*All Resource
|
無 | 無 |
| ecs:DeleteNetworkInterface | DeleteNetworkInterface | delete |
*NetworkInterface
|
無 | 無 |
| ecs:ModifyInstanceAutoRenewAttribute | ModifyInstanceAutoRenewAttribute | update |
*Instance
|
無 | 無 |
| ecs:DeleteVsc | DeleteVsc | delete |
*All Resource
|
無 | 無 |
| ecs:CreateAutoProvisioningGroup | CreateAutoProvisioningGroup | create |
*All Resource
|
無 |
ram:CreateServiceLinkedRole |
| ecs:DescribeDisksFullStatus | DescribeDisksFullStatus | list |
Disk
Disk
|
無 | 無 |
| ecs:DescribeTerminalSessions | DescribeTerminalSessions | list |
*Instance
|
無 | 無 |
| ecs:DescribeNetworkInterfaces | DescribeNetworkInterfaces | get |
NetworkInterface
|
無 | 無 |
| ecs:ModifyDiskAttribute | ModifyDiskAttribute | update |
*Disk
|
無 | 無 |
| ecs:ResetDisks | ResetDisks | update |
*Disk
*Snapshot
|
無 | 無 |
| ecs:ModifyInstanceAttribute | ModifyInstanceAttribute | update |
*Instance
SecurityGroup
|
ecs:tag ecs:PasswordCustomized |
無 |
| ecs:DescribeImagePipelineExecutions | DescribeImagePipelineExecutions | get |
*ImagePipelineExecution
*ImagePipelineExecution
*ImagePipeline
*ImagePipeline
|
無 | 無 |
| ecs:DeleteImage | DeleteImage | delete |
*Image
|
無 | 無 |
| ecs:ModifyPrefixList | ModifyPrefixList | update |
*PrefixList
|
無 | 無 |
| 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:CreateHpcCluster | CreateHpcCluster | create |
*HpcCluster
|
無 | 無 |
| ecs:DeleteDiagnosticReports | DeleteDiagnosticReports | delete |
*All Resource
|
無 | 無 |
| ecs:DescribeNetworkInterfacePermissions | DescribeNetworkInterfacePermissions | get |
NetworkInterface
|
無 | 無 |
| ecs:DescribeKeyPairs | DescribeKeyPairs | get |
KeyPair
KeyPair
|
無 | 無 |
| ecs:DescribeCapacityReservations | DescribeCapacityReservations | get |
*CapacityReservation
|
無 | 無 |
| ecs:DescribeSnapshotGroups | DescribeSnapshotGroups | get |
SnapshotGroup
SnapshotGroup
|
無 | 無 |
| ecs:AssignPrivateIpAddresses | AssignPrivateIpAddresses | create |
*NetworkInterface
|
無 | 無 |
| ecs:DescribePortRangeLists | DescribePortRangeLists | list |
*PortRangeList
PortRangeList
|
無 | 無 |
| ecs:RevokeSecurityGroup | RevokeSecurityGroup | delete |
*SecurityGroup
|
ecs:tag ecs:tag ecs:tag |
無 |
| ecs:PurchaseReservedInstancesOffering | PurchaseReservedInstancesOffering | create |
*ReservedInstance
|
無 | 無 |
| ecs:StartInstance | StartInstance | update |
*Instance
|
無 | 無 |
| ecs:ModifyCloudAssistantSettings | ModifyCloudAssistantSettings | update |
*ServiceSettings
|
無 | 無 |
| ecs:ModifyDedicatedHostAutoRenewAttribute | ModifyDedicatedHostAutoRenewAttribute | update |
*DedicatedHost
|
無 | 無 |
| ecs:ModifyStorageCapacityUnitAttribute | ModifyStorageCapacityUnitAttribute | update |
*StorageCapacityUnit
|
無 | 無 |
| ecs:DescribeDeploymentSets | DescribeDeploymentSets | get |
*DeploymentSet
|
無 | 無 |
| ecs:DeleteAutoProvisioningGroup | DeleteAutoProvisioningGroup | delete |
*AutoProvisioningGroup
|
無 |
ram:CreateServiceLinkedRole |
| ecs:DeleteAutoSnapshotPolicy | DeleteAutoSnapshotPolicy | delete |
*AutoSnapshotPolicy
|
無 | 無 |
| ecs:DescribeInvocations | DescribeInvocations | get |
Instance
Command
|
無 | 無 |
| ecs:ModifySecurityGroupRule | ModifySecurityGroupRule | update |
*All Resource
|
ecs:SecurityGroupIpProtocols ecs:SecurityGroupSourceCidrIps |
無 |
| ecs:RebootInstances | RebootInstances | update |
*Instance
|
無 | 無 |
| ecs:DescribeLaunchTemplates | DescribeLaunchTemplates | get |
LaunchTemplate
LaunchTemplate
|
無 | 無 |
| ecs:CreateDiagnosticReport | CreateDiagnosticReport | create |
*All Resource
|
無 | 無 |
| ecs:ModifyReservedInstances | ModifyReservedInstances | update |
*ReservedInstance
|
無 | 無 |
| ecs:CreateKeyPair | CreateKeyPair | create |
*KeyPair
|
無 | 無 |
| ecs:DescribeLimitation | DescribeLimitation | get |
*All Resource
|
無 | 無 |
| ecs:CreateNetworkInterfacePermission | CreateNetworkInterfacePermission | create |
*NetworkInterface
|
無 | 無 |
| ecs:PurchaseElasticityAssurance | PurchaseElasticityAssurance | update |
*ElasticityAssurance
|
無 | 無 |
| ecs:DeleteSecurityGroup | DeleteSecurityGroup | delete |
*SecurityGroup
|
無 | 無 |
| ecs:DeleteCommand | DeleteCommand | delete |
*Command
|
無 | 無 |
| ecs:ModifyCommand | ModifyCommand | update |
*Command
|
無 | 無 |
| ecs:CreateActivation | CreateActivation | create |
*Activation
|
無 | 無 |
| ecs:UnlockSnapshot | UnlockSnapshot | update |
*Snapshot
|
無 | 無 |
| ecs:DeleteInstance | DeleteInstance | delete |
*Instance
|
無 | 無 |
| ecs:AllocateDedicatedHosts | AllocateDedicatedHosts | create |
*DedicatedHost
|
無 | 無 |
| ecs:CreateDiagnosticMetricSet | CreateDiagnosticMetricSet | create |
*All Resource
|
無 | 無 |
| ecs:DeregisterManagedInstance | DeregisterManagedInstance | update |
*Instance
|
無 | 無 |
| ecs:DescribeClassicLinkInstances | DescribeClassicLinkInstances | get |
*All Resource
|
無 | 無 |
| ecs:CopyImage | CopyImage | update |
*Image
|
無 | 無 |
| ecs:DescribePlanMaintenanceWindows | DescribePlanMaintenanceWindows | list |
*All Resource
|
無 | 無 |
| ecs:CreateDedicatedHostCluster | CreateDedicatedHostCluster | create |
*All Resource
|
無 | 無 |
| ecs:ExportSnapshot | ExportSnapshot | create |
*Snapshot
|
無 | 無 |
| ecs:DescribeCapacityReservationInstances | DescribeCapacityReservationInstances | get |
*CapacityReservation
|
無 | 無 |
| ecs:DescribeInstanceMaintenanceAttributes | DescribeInstanceMaintenanceAttributes | get |
*All Resource
|
無 | 無 |
| ecs:CreateCapacityReservation | CreateCapacityReservation | create |
*CapacityReservation
|
無 | 無 |
| ecs:StartImagePipelineExecution | StartImagePipelineExecution | update |
*ImagePipeline
|
無 | 無 |
| ecs:DescribeDiagnosticMetricSets | DescribeDiagnosticMetricSets | get |
*All Resource
|
無 | 無 |
| ecs:CreateDisk | CreateDisk | create |
Disk
Disk
Snapshot
|
ecs:IsDiskEncrypted ecs:IsDiskByokEncrypted |
無 |
| ecs:DescribeInvocationResults | DescribeInvocationResults | get |
Command
Instance
|
無 | 無 |
| ecs:EnableDiskEncryptionByDefault | EnableDiskEncryptionByDefault | none |
*All Resource
|
無 | 無 |
| ecs:CreateSnapshotGroup | CreateSnapshotGroup | create |
Instance
Disk
|
無 | 無 |
| ecs:UntagResources | UntagResources | delete |
DedicatedHost
Disk
NetworkInterface
Image
Instance
KeyPair
ReservedInstance
SecurityGroup
Snapshot
LaunchTemplate
AutoSnapshotPolicy
|
無 | 無 |
| ecs:StopInvocation | StopInvocation | update |
Instance
|
無 | 無 |
| ecs:DescribeDiagnosticReportAttributes | DescribeDiagnosticReportAttributes | get |
*All Resource
|
無 | 無 |
| ecs:ModifyReservedInstanceAutoRenewAttribute | ModifyReservedInstanceAutoRenewAttribute | update |
*ReservedInstance
|
無 | 無 |
| ecs:DetachNetworkInterface | DetachNetworkInterface | update |
*NetworkInterface
*Instance
|
無 | 無 |
| ecs:EndTerminalSession | EndTerminalSession | update |
*Instance
|
無 | 無 |
| ecs:ModifySnapshotCategory | ModifySnapshotCategory | update |
*Snapshot
|
ecs:tag |
無 |
| ecs:ResetDisk | ResetDisk | update |
*Disk
*Snapshot
|
無 | 無 |
| ecs:ListPluginStatus | ListPluginStatus | get |
*Instance
|
無 | 無 |
| ecs:ModifyElasticityAssuranceAutoRenewAttribute | ModifyElasticityAssuranceAutoRenewAttribute | update |
*ElasticityAssurance
|
無 | 無 |
| ecs:ModifyInstanceVpcAttribute | ModifyInstanceVpcAttribute | update |
*Instance
*VSwitch
|
vpc:tag vpc:VPC |
無 |
| ecs:CancelSimulatedSystemEvents | CancelSimulatedSystemEvents | update |
*All Resource
|
無 | 無 |
| ecs:DescribeDiskMonitorData | DescribeDiskMonitorData | get |
*Disk
|
無 | 無 |
| ecs:DeleteDisk | DeleteDisk | delete |
*Disk
|
無 | 無 |
| ecs:DescribeLaunchTemplateVersions | DescribeLaunchTemplateVersions | list |
LaunchTemplate
LaunchTemplate
|
無 | 無 |
| ecs:DeletePortRangeList | DeletePortRangeList | delete |
*PortRangeList
|
無 | 無 |
| ecs:DescribePrefixListAssociations | DescribePrefixListAssociations | get |
*PrefixList
|
無 | 無 |
| ecs:ModifyInvocationAttribute | ModifyInvocationAttribute | update |
*Invocation
Instance
|
無 | 無 |
| ecs:SendFile | SendFile | update |
*Instance
|
無 | 無 |
| ecs:DescribePrefixLists | DescribePrefixLists | get |
*PrefixList
|
無 | 無 |
| ecs:DescribeAccountAttributes | DescribeAccountAttributes | get |
*All Resource
|
無 | 無 |
| ecs:ModifyDedicatedHostClusterAttribute | ModifyDedicatedHostClusterAttribute | update |
*ddhcluster
|
無 | 無 |
| ecs:CancelCopyImage | CancelCopyImage | update |
*Image
|
無 | 無 |
| ecs:ModifyHpcClusterAttribute | ModifyHpcClusterAttribute | update |
*All Resource
|
無 | 無 |
| ecs:DeleteSnapshotGroup | DeleteSnapshotGroup | delete |
*SnapshotGroup
|
無 | 無 |
| ecs:DescribeStorageCapacityUnits | DescribeStorageCapacityUnits | get |
StorageCapacityUnit
StorageCapacityUnit
|
無 | 無 |
| ecs:ModifyInstanceMetadataOptions | ModifyInstanceMetadataOptions | update |
*Instance
|
無 | 無 |
| ecs:ModifyDiskSpec | ModifyDiskSpec | update |
*Disk
|
無 | 無 |
| ecs:InstallCloudAssistant | InstallCloudAssistant | update |
*Instance
|
無 | 無 |
| ecs:CopySnapshot | CopySnapshot | create |
*Snapshot
|
無 | 無 |
| ecs:ModifyImageShareGroupPermission | ModifyImageShareGroupPermission | update |
*Image
|
無 | 無 |
| ecs:DeleteImagePipeline | DeleteImagePipeline | delete |
*ImagePipeline
|
無 | 無 |
| ecs:AttachInstanceRamRole | AttachInstanceRamRole | update |
*Instance
*Role
|
無 |
ram:PassRole |
| ecs:DescribeDedicatedHostClusters | DescribeDedicatedHostClusters | get |
DedicatedHostCluster
DedicatedHostCluster
|
無 | 無 |
| ecs:ModifyInstanceAutoReleaseTime | ModifyInstanceAutoReleaseTime | update |
*Instance
|
無 | 無 |
| ecs:ModifyReservedInstanceAttribute | ModifyReservedInstanceAttribute | update |
*ReservedInstance
|
無 | 無 |
| ecs:DescribeInstanceHistoryEvents | DescribeInstanceHistoryEvents | get |
*All Resource
|
無 | 無 |
| ecs:DescribeTasks | DescribeTasks | get |
*All Resource
|
無 | 無 |
| ecs:CancelImagePipelineExecution | CancelImagePipelineExecution | update |
*ImagePipeline
|
無 | 無 |
| ecs:CreateDeploymentSet | CreateDeploymentSet | create |
*All Resource
|
無 | 無 |
| ecs:ReleaseDedicatedHost | ReleaseDedicatedHost | delete |
*DedicatedHost
|
無 | 無 |
| ecs:JoinResourceGroup | JoinResourceGroup | update |
DedicatedHost
Disk
NetworkInterface
Image
Instance
KeyPair
LaunchTemplate
SecurityGroup
Snapshot
|
無 | 無 |
| ecs:GetInstanceConsoleOutput | GetInstanceConsoleOutput | get |
*Instance
|
無 | 無 |
| ecs:DescribeCommands | DescribeCommands | get |
Command
Command
|
無 | 無 |
| ecs:DeleteDeploymentSet | DeleteDeploymentSet | delete |
*DeploymentSet
|
無 | 無 |
| ecs:DescribeManagedInstances | DescribeManagedInstances | get |
Instance
|
無 | 無 |
| ecs:ModifyDiskChargeType | ModifyDiskChargeType | update |
*Instance
|
無 | 無 |
| ecs:DeleteNetworkInterfacePermission | DeleteNetworkInterfacePermission | delete |
*NetworkInterface
|
無 | 無 |
| ecs:PurchaseStorageCapacityUnit | PurchaseStorageCapacityUnit | create |
*StorageCapacityUnit
|
無 | 無 |
| ecs:AuthorizeSecurityGroup | AuthorizeSecurityGroup | create |
*All Resource
|
ecs:SecurityGroupIpProtocols ecs:SecurityGroupSourceCidrIps |
無 |
| ecs:DisableNetworkInterfaceQoS | DisableNetworkInterfaceQoS | update |
*NetworkInterface
|
無 | 無 |
| ecs:ExportImage | ExportImage | update |
*Image
|
無 | 無 |
| ecs:RedeployInstance | RedeployInstance | update |
*Instance
|
無 | 無 |
| ecs:DescribeDiskDefaultKMSKeyId | DescribeDiskDefaultKMSKeyId | get |
*DiskEncryptionDefaultConfig
|
無 | 無 |
| ecs:ModifyImageSharePermission | ModifyImageSharePermission | update |
*Image
|
無 | 無 |
| ecs:DescribeInstanceMonitorData | DescribeInstanceMonitorData | get |
*Instance
|
無 | 無 |
| ecs:ModifySecurityGroupPolicy | ModifySecurityGroupPolicy | update |
*SecurityGroup
|
無 | 無 |
| ecs:DeleteHpcCluster | DeleteHpcCluster | delete |
*All Resource
|
無 | 無 |
| ecs:ModifyInstanceClockOptions | ModifyInstanceClockOptions | update |
*All Resource
|
無 | 無 |
| ecs:ModifyNetworkInterfaceAttribute | ModifyNetworkInterfaceAttribute | update |
*NetworkInterface
*SecurityGroup
|
無 | 無 |
| ecs:DescribeSnapshotsUsage | DescribeSnapshotsUsage | get |
*All Resource
|
無 | 無 |
| ecs:ModifyPlanMaintenanceWindow | ModifyPlanMaintenanceWindow | update |
*All Resource
|
無 | 無 |
| ecs:DetachInstanceRamRole | DetachInstanceRamRole | update |
*Instance
*Role
|
無 | 無 |
| ecs:DescribeImages | DescribeImages | get |
Image
Image
|
無 | 無 |
| ecs:AttachNetworkInterface | AttachNetworkInterface | update |
*NetworkInterface
*Instance
|
無 | 無 |
| ecs:RunCommand | RunCommand | update |
*Instance
|
ecs:CommandRunAs |
無 |
| ecs:ModifyInstanceNetworkSpec | ModifyInstanceNetworkSpec | update |
*Instance
|
ecs:AssociatePublicIpAddress |
無 |
| ecs:RenewElasticityAssurances | RenewElasticityAssurances | create |
*ElasticityAssurance
|
無 | 無 |
| ecs:StartInstances | StartInstances | update |
*Instance
|
無 | 無 |
| ecs:DescribeAutoProvisioningGroupInstances | DescribeAutoProvisioningGroupInstances | get |
*AutoProvisioningGroup
|
無 | 無 |
| ecs:DescribeLockedSnapshots | DescribeLockedSnapshots | list |
Snapshot
Snapshot
|
無 | 無 |
| ecs:DescribeTags | DescribeTags | get |
*All Resource
|
無 | 無 |
| ecs:ModifyManagedInstance | ModifyManagedInstance | update |
*Instance
|
無 | 無 |
| ecs:OpenSnapshotService | OpenSnapshotService | create |
*All Resource
|
無 | 無 |
| ecs:DescribeInstanceModificationPrice | DescribeInstanceModificationPrice | get |
*Instance
|
無 | 無 |
| ecs:ResetDiskDefaultKMSKeyId | ResetDiskDefaultKMSKeyId | none |
*All Resource
|
無 | 無 |
| ecs:ModifyElasticityAssurance | ModifyElasticityAssurance | update |
*ElasticityAssurance
|
無 | 無 |
| ecs:CreateAutoSnapshotPolicy | CreateAutoSnapshotPolicy | create |
*AutoSnapshotPolicy
|
無 | 無 |
| ecs:CreateImageComponent | CreateImageComponent | create |
*ImageComponent
|
無 | 無 |
| ecs:DescribeBandwidthLimitation | DescribeBandwidthLimitation | get |
*Instance
|
無 | 無 |
| ecs:CreatePlanMaintenanceWindow | CreatePlanMaintenanceWindow | create |
*All Resource
|
無 | 無 |
| ecs:DescribeAutoSnapshotPolicyAssociations | DescribeAutoSnapshotPolicyAssociations | get |
AutoSnapshotPolicy
Disk
|
無 | 無 |
| ecs:ResizeDisk | ResizeDisk | update |
*Disk
|
無 | 無 |
| ecs:RemoveTags | RemoveTags | delete |
*All Resource
|
無 | 無 |
| ecs:DescribeElasticityAssurances | DescribeElasticityAssurances | get |
*ElasticityAssurance
|
無 | 無 |
| ecs:CreateSimulatedSystemEvents | CreateSimulatedSystemEvents | create |
*Instance
|
無 | 無 |
| ecs:DescribeAutoProvisioningGroupHistory | DescribeAutoProvisioningGroupHistory | get |
*All Resource
|
無 | 無 |
| ecs:DescribeResourceByTags | DescribeResourceByTags | get |
*All Resource
|
無 | 無 |
| ecs:DescribeVscs | DescribeVscs | list |
Vsc
|
無 | 無 |
| ecs:ListTagResources | ListTagResources | get |
*All Resource
|
無 | 無 |
| ecs:ReplaceSystemDisk | ReplaceSystemDisk | update |
Disk
Image
*Instance
|
ecs:IsDiskEncrypted ecs:IsSystemDiskEncrypted ecs:PasswordInherit ecs:PasswordCustomized ecs:IsDiskByokEncrypted ecs:IsSystemDiskByokEncrypted ecs:LoginAsNonRoot ecs:ImagePlatform |
無 |
| ecs:DescribeSnapshotMonitorData | DescribeSnapshotMonitorData | get |
*All Resource
|
無 | 無 |
| ecs:DescribeTaskAttribute | DescribeTaskAttribute | get |
*All Resource
|
無 | 無 |
| ecs:DeleteImageComponent | DeleteImageComponent | delete |
*ImageComponent
|
無 | 無 |
| ecs:ModifyInstanceChargeType | ModifyInstanceChargeType | update |
*Instance
|
無 | 無 |
| ecs:ReportInstancesStatus | ReportInstancesStatus | get |
*Instance
|
無 | 無 |
| ecs:ConvertNatPublicIpToEip | ConvertNatPublicIpToEip | update |
*Instance
|
無 | 無 |
| ecs:DescribeInstancesFullStatus | DescribeInstancesFullStatus | list |
*All Resource
|
無 | 無 |
| ecs:DeleteActivation | DeleteActivation | update |
*activation
|
無 | 無 |
| ecs:DescribeUserBusinessBehavior | DescribeUserBusinessBehavior | get |
*All Resource
|
無 | 無 |
| ecs:DescribeInstanceAutoRenewAttribute | DescribeInstanceAutoRenewAttribute | list |
Instance
Instance
|
無 | 無 |
| ecs:DescribeAutoProvisioningGroups | DescribeAutoProvisioningGroups | get |
*All Resource
|
無 | 無 |
| ecs:DescribeSecurityGroupReferences | DescribeSecurityGroupReferences | get |
*SecurityGroup
|
無 | 無 |
| ecs:DescribeReservedInstances | DescribeReservedInstances | get |
ReservedInstance
ReservedInstance
|
無 | 無 |
| ecs:RenewInstance | RenewInstance | update |
*Instance
|
無 | 無 |
| ecs:DescribeDiagnosticMetrics | DescribeDiagnosticMetrics | get |
*All Resource
|
無 | 無 |
| ecs:ModifyInstanceNetworkOptions | ModifyInstanceNetworkOptions | update |
*Instance
|
無 | 無 |
| ecs:DescribeAutoSnapshotPolicyEx | DescribeAutoSnapshotPolicyEx | get |
AutoSnapshotPolicy
AutoSnapshotPolicy
|
無 | 無 |
| ecs:DeleteSnapshot | DeleteSnapshot | delete |
*Snapshot
|
無 | 無 |
| ecs:DetachClassicLinkVpc | DetachClassicLinkVpc | update |
*Instance
*VPC
|
無 | 無 |
| ecs:DescribeSecurityGroups | DescribeSecurityGroups | get |
SecurityGroup
SecurityGroup
|
ecs:tag ecs:tag ecs:tag ecs:tag |
無 |
| ecs:CreateImagePipeline | CreateImagePipeline | create |
*ImagePipeline
|
無 |
ram:CreateServiceLinkedRole |
| ecs:ImportImage | ImportImage | update |
*Image
|
無 | 無 |
| ecs:DescribeDiagnosticReports | DescribeDiagnosticReports | get |
*All Resource
|
無 | 無 |
| ecs:CloneDisks | CloneDisks | create |
*Disk
*Disk
|
無 | 無 |
| ecs:ModifyPortRangeList | ModifyPortRangeList | update |
*PortRangeList
|
無 | 無 |
| ecs:DescribeSecurityGroupAttribute | DescribeSecurityGroupAttribute | get |
*SecurityGroup
|
ecs:tag |
無 |
| ecs:DisableActivation | DisableActivation | update |
*Activation
|
無 | 無 |
| ecs:DescribeNetworkInterfaceAttribute | DescribeNetworkInterfaceAttribute | get |
*NetworkInterface
|
無 | 無 |
| ecs:DeletePrefixList | DeletePrefixList | delete |
*PrefixList
|
無 | 無 |
| ecs:DescribeImageFromFamily | DescribeImageFromFamily | get |
*All Resource
|
無 | 無 |
| ecs:DeleteInstances | DeleteInstances | delete |
*Instance
|
無 | 無 |
| ecs:GetInstanceScreenshot | GetInstanceScreenshot | get |
*Instance
|
無 | 無 |
| ecs:DescribeElasticityAssuranceAutoRenewAttribute | DescribeElasticityAssuranceAutoRenewAttribute | get |
*ElasticityAssurance
|
無 | 無 |
| ecs:InvokeCommand | InvokeCommand | update |
*Command
*Instance
|
ecs:CommandRunAs |
無 |
| ecs:DescribeCloudAssistantStatus | DescribeCloudAssistantStatus | get |
*Instance
|
無 | 無 |
| ecs:DescribeInstanceRamRole | DescribeInstanceRamRole | get |
Instance
Role
|
無 | 無 |
| ecs:DescribeHpcClusters | DescribeHpcClusters | get |
*HpcCluster
|
無 | 無 |
| ecs:TagResources | TagResources | create |
DedicatedHost
Disk
NetworkInterface
Image
Instance
KeyPair
LaunchTemplate
ReservedInstance
SecurityGroup
Snapshot
AutoSnapshotPolicy
|
無 | 無 |
| ecs:DescribeSendFileResults | DescribeSendFileResults | get |
Instance
|
無 | 無 |
| ecs:ImportKeyPair | ImportKeyPair | create |
*KeyPair
|
無 | 無 |
| ecs:DeleteLaunchTemplateVersion | DeleteLaunchTemplateVersion | delete |
*LaunchTemplate
|
無 | 無 |
| ecs:StartTerminalSession | StartTerminalSession | update |
*Instance
|
ecs:SessionStartAs |
無 |
| ecs:DisableDiskEncryptionByDefault | DisableDiskEncryptionByDefault | none |
*All Resource
|
無 | 無 |
| ecs:AuthorizeSecurityGroupEgress | AuthorizeSecurityGroupEgress | create |
*All Resource
|
ecs:SecurityGroupIpProtocols ecs:SecurityGroupSourceCidrIps |
無 |
| ecs:AttachClassicLinkVpc | AttachClassicLinkVpc | update |
*Instance
*VPC
|
vpc:tag |
無 |
| ecs:DescribeReservedInstanceAutoRenewAttribute | DescribeReservedInstanceAutoRenewAttribute | get |
*ReservedInstance
|
無 | 無 |
| ecs:ApplyAutoSnapshotPolicy | ApplyAutoSnapshotPolicy | update |
*Disk
*AutoSnapshotPolicy
|
無 | 無 |
| ecs:DescribeEniMonitorData | DescribeEniMonitorData | get |
NetworkInterface
*Instance
|
無 | 無 |
| ecs:AttachKeyPair | AttachKeyPair | update |
*Instance
*KeyPair
|
無 | 無 |
| ecs:DescribeResourcesModification | DescribeResourcesModification | get |
*Instance
|
無 | 無 |
| ecs:CreateImage | CreateImage | create |
*Image
Instance
Snapshot
|
無 | 無 |
| ecs:RedeployDedicatedHost | RedeployDedicatedHost | update |
*DedicatedHost
|
無 | 無 |
| ecs:DescribeDisks | DescribeDisks | list |
Disk
Disk
|
無 | 無 |
| ecs:DescribeSnapshotLinks | DescribeSnapshotLinks | get |
*All Resource
|
無 | 無 |
| ecs:DetachKeyPair | DetachKeyPair | update |
*Instance
*KeyPair
|
無 | 無 |
| ecs:RebootInstance | RebootInstance | update |
*Instance
|
無 | 無 |
| ecs:DeleteKeyPairs | DeleteKeyPairs | delete |
*KeyPair
|
無 | 無 |
| ecs:DescribeRenewalPrice | DescribeRenewalPrice | get |
DedicatedHost
Instance
|
無 | 無 |
| ecs:JoinSecurityGroup | JoinSecurityGroup | update |
*Instance
*SecurityGroup
|
無 | 無 |
| ecs:DescribeElasticityAssuranceInstances | DescribeElasticityAssuranceInstances | get |
*All Resource
|
無 | 無 |
| ecs:ModifyAutoProvisioningGroup | ModifyAutoProvisioningGroup | update |
*autoprovisioninggroup
|
無 |
ram:CreateServiceLinkedRole |
| ecs:ModifyAutoSnapshotPolicyEx | ModifyAutoSnapshotPolicyEx | update |
*Snapshot
|
無 | 無 |
| ecs:DescribeInstanceAttachmentAttributes | DescribeInstanceAttachmentAttributes | get |
*Instance
|
無 | 無 |
| ecs:DescribeInstances | DescribeInstances | list |
Instance
Instance
|
ResourceOwner |
無 |
| ecs:CreateSnapshot | CreateSnapshot | create |
*Disk
*Snapshot
|
無 | 無 |
| ecs:ModifySnapshotGroup | ModifySnapshotGroup | update |
*SnapshotGroup
|
無 | 無 |
| vpc:DescribeBandwidthPackages | DescribeBandwidthPackages | get |
*All Resource
|
無 | 無 |
| vpc:ModifyRouterInterfaceAttribute | ModifyRouterInterfaceAttribute | update |
*RouterInterface
|
vpc:TargetAccountRDId |
無 |
| vpc:EnablePhysicalConnection | EnablePhysicalConnection | update |
*PhysicalConnection
|
無 | 無 |
| vpc:RemoveBandwidthPackageIps | RemoveBandwidthPackageIps | delete |
*BandwidthPackage
|
無 | 無 |
| vpc:ModifyVSwitchAttribute | ModifyVSwitchAttribute | update |
*VSwitch
|
無 | 無 |
| vpc:ModifyHaVipAttribute | ModifyHaVipAttribute | update |
*HaVip
|
無 | 無 |
| vpc:ModifyPhysicalConnectionAttribute | ModifyPhysicalConnectionAttribute | update |
*PhysicalConnection
|
無 | 無 |
| vpc:DescribeEipAddresses | DescribeEipAddresses | get |
*Address
|
無 | 無 |
| vpc:ModifyVRouterAttribute | ModifyVRouterAttribute | update |
*VRouter
|
無 | 無 |
| vpc:DeleteBandwidthPackage | DeleteBandwidthPackage | delete |
*BandwidthPackage
|
無 | 無 |
| vpc:DeleteForwardEntry | DeleteForwardEntry | delete |
*ForwardTable
|
無 | 無 |
| vpc:DescribeVirtualBorderRouters | DescribeVirtualBorderRouters | get |
*VirtualBorderRouter
|
無 | 無 |
| vpc:DeleteRouterInterface | DeleteRouterInterface | delete |
*RouterInterface
|
無 | 無 |
| vpc:DescribeRouteTables | DescribeRouteTables | get |
*RouteTable
|
vpc:VBR vpc:VRouter |
無 |
| vpc:UnassociateHaVip | UnassociateHaVip | delete |
*Instance
*HaVip
|
無 | 無 |
| vpc:TerminatePhysicalConnection | TerminatePhysicalConnection | update |
*PhysicalConnection
|
無 | 無 |
| vpc:ModifyForwardEntry | ModifyForwardEntry | update |
*ForwardTable
|
無 | 無 |
| vpc:ModifyVirtualBorderRouterAttribute | ModifyVirtualBorderRouterAttribute | update |
*VirtualBorderRouter
|
無 | 無 |
| vpc:CreateForwardEntry | CreateForwardEntry | create |
*ForwardTable
|
無 | 無 |
| vpc:CreateRouteEntry | CreateRouteEntry | create |
*RouteTable
|
無 | 無 |
| vpc:CreateRouterInterface | CreateRouterInterface | create |
*All Resource
|
vpc:TargetAccountRDId |
無 |
| vpc:CreateVirtualBorderRouter | CreateVirtualBorderRouter | create |
*All Resource
|
無 | 無 |
| vpc:DescribeHaVips | DescribeHaVips | get |
*All Resource
|
無 | 無 |
| vpc:DeleteVpc | DeleteVpc | delete |
*VPC
|
vpc:tag |
無 |
| vpc:CreateHaVip | CreateHaVip | create |
*All Resource
|
無 | 無 |
| vpc:DescribeRouterInterfaces | DescribeRouterInterfaces | get |
*RouterInterface
|
無 | 無 |
| vpc:DeleteHaVip | DeleteHaVip | delete |
*HaVip
|
無 | 無 |
| vpc:DeleteNatGateway | DeleteNatGateway | delete |
*NatGateway
|
無 | 無 |
| vpc:CreateVSwitch | CreateVSwitch | create |
*All Resource
|
vpc:tag |
無 |
| vpc:AllocateEipAddress | AllocateEipAddress | update |
*All Resource
|
無 | 無 |
| vpc:DescribePhysicalConnections | DescribePhysicalConnections | get |
*All Resource
|
無 | 無 |
| vpc:CreateNatGateway | CreateNatGateway | create |
*All Resource
|
無 | 無 |
| vpc:DescribeVRouters | DescribeVRouters | get |
*All Resource
|
vpc:VPC |
無 |
| vpc:DeleteVSwitch | DeleteVSwitch | delete |
*VSwitch
|
無 | 無 |
| vpc:UnassociateEipAddress | UnassociateEipAddress | update |
*All Resource
|
無 | 無 |
| vpc:AssociateEipAddress | AssociateEipAddress | update |
*All Resource
|
無 | 無 |
| vpc:DeleteRouteEntry | DeleteRouteEntry | delete |
*RouteTable
|
無 | 無 |
| vpc:DeactivateRouterInterface | DeactivateRouterInterface | update |
*RouterInterface
|
無 | 無 |
| vpc:RecoverVirtualBorderRouter | RecoverVirtualBorderRouter | update |
*VirtualBorderRouter
|
無 | 無 |
| vpc:AddBandwidthPackageIps | AddBandwidthPackageIps | create |
*BandwidthPackage
|
無 | 無 |
| vpc:ConnectRouterInterface | ConnectRouterInterface | update |
*RouterInterface
|
無 | 無 |
| vpc:DescribeNatGateways | DescribeNatGateways | get |
*All Resource
|
無 | 無 |
| vpc:CancelPhysicalConnection | CancelPhysicalConnection | update |
*PhysicalConnection
|
無 | 無 |
| vpc:ModifyBandwidthPackageSpec | ModifyBandwidthPackageSpec | update |
*BandwidthPackage
|
無 | 無 |
| vpc:ModifyEipAddressAttribute | ModifyEipAddressAttribute | update |
*Address
|
無 | 無 |
| vpc:AssociateHaVip | AssociateHaVip | update |
*Instance
*HaVip
|
無 | 無 |
| vpc:TerminateVirtualBorderRouter | TerminateVirtualBorderRouter | update |
*VirtualBorderRouter
|
無 | 無 |
| vpc:ModifyVpcAttribute | ModifyVpcAttribute | update |
*VPC
|
vpc:tag |
無 |
| vpc:DescribeVSwitches | DescribeVSwitches | get |
*All Resource
|
vpc:VPC |
無 |
| vpc:DescribeVpcs | DescribeVpcs | get |
*All Resource
|
vpc:tag |
無 |
| vpc:DeleteVirtualBorderRouter | DeleteVirtualBorderRouter | delete |
*VirtualBorderRouter
|
無 | 無 |
| vpc:ReleaseEipAddress | ReleaseEipAddress | update |
*Address
|
vpc:tag |
無 |
| vpc:DescribeNewProjectEipMonitorData | DescribeNewProjectEipMonitorData | get |
*Address
|
無 | 無 |
| vpc:CreatePhysicalConnection | CreatePhysicalConnection | create |
*All Resource
|
無 | 無 |
| vpc:ActivateRouterInterface | ActivateRouterInterface | update |
*RouterInterface
|
無 | 無 |
| vpc:CreateVpc | CreateVpc | create |
*All Resource
|
無 | 無 |
| vpc:DescribeEipMonitorData | DescribeEipMonitorData | get |
*Address
|
無 | 無 |
| vpc:DeletePhysicalConnection | DeletePhysicalConnection | delete |
*PhysicalConnection
|
無 | 無 |
| vpc:DescribeVirtualBorderRoutersForPhysicalConnection | DescribeVirtualBorderRoutersForPhysicalConnection | get |
*PhysicalConnection
|
vpc:PhysicalConnection |
無 |
| vpc:DescribeForwardTableEntries | DescribeForwardTableEntries | get |
*ForwardTable
|
無 | 無 |
| vpc:ModifyRouterInterfaceSpec | ModifyRouterInterfaceSpec | update |
*RouterInterface
|
無 | 無 |
資源(Resource)
下表是Elastic Compute Service定義的資源,這些資源可以在 RAM 權限原則語句的Resource元素中使用,用來授予對該資源執行具體操作的許可權。 其中,資源 ARN 是資源在阿里雲上的唯一標識。具體說明如下:
{#}為變數標識,需要您替換為實際值。例如:{#ramcode}需要您替換為實際的雲端服務RAM代碼。*表示全部。例如:{#resourceType}為*時:表示全部資源。{#regionId}為*時:表示全部地區。{#accountId}為*時:表示全部阿里雲帳號。
資源類型 |
資源 ARN |
| NetworkInterface |
|
| Activation |
|
| LaunchTemplate |
|
| Disk |
|
| ServiceSettings |
|
| SecurityGroup |
|
| Image |
|
| Instance |
|
| DedicatedHost |
|
| KeyPair |
|
| ReservedInstance |
|
| Snapshot |
|
| snapshotpolicy |
|
| PortRangeList |
|
| PrefixList |
|
| ImageComponent |
|
| ElasticityAssurance |
|
| DedicatedHostCluster |
|
| CapacityReservation |
|
| DeploymentSet |
|
| Vsc |
|
| VPC |
|
| VSwitch |
|
| Command |
|
| ImagePipeline |
|
| AutoSnapshotPolicy |
|
| DiskEncryptionDefaultConfig |
|
| Fleet |
|
| ImagePipelineExecution |
|
| HpcCluster |
|
| SnapshotGroup |
|
| StorageCapacityUnit |
|
| AutoProvisioningGroup |
|
| ddhcluster |
|
| Invocation |
|
| Role |
|
| activation |
|
| autoprovisioninggroup |
|
| BandwidthPackage |
|
| RouterInterface |
|
| PhysicalConnection |
|
| HaVip |
|
| Address |
|
| VRouter |
|
| ForwardTable |
|
| VirtualBorderRouter |
|
| RouteTable |
|
| NatGateway |
|
| Association |
|
條件(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 |
| vpc:IsDefaultVSwitch | 執行個體是否繼承映像密碼。 | Boolean |
| ecs:IsSystemDiskEncrypted | 是否為預設 VSwitch,是否可以使用預設 VSwitch。 | String |
| ecs:PasswordCustomized | 是否為加密系統磁碟。 | Boolean |
| ecs:CommandRunAs | 是否為主金鑰加密系統磁碟。 | String |
| ecs:SecurityGroupSourceCidrIps | 映像來源。 |
Array |
| ecs:InstanceTypeFamily | 是否使用了自訂密碼。 | String |
| ecs:SecurityGroupIpProtocols | 執行雲端助手命令的作業系統內使用者。 |
Array |
| vpc:IsDefaultVpc | 存取執行個體中繼資料時是否強制使用加固模式(IMDSv2)。 | Boolean |
| ecs:IsDiskByokEncrypted | 安全性群組設定存取權限的來源端 IPv4 CIDR 位址段。 | String |
| ecs:InstanceType | 描述:VPC 的資源 ARN。範例值:acs:vpc:cn-shanghai:1234567890:vpc/vpc-abc0123efg4567***。 | String |
| ecs:NotSpecifySecurityGroupId | 是否為加密資料磁碟。 | Boolean |
| ecs:ImagePlatform | 執行個體規格族。 | String |
| ecs:IsSystemDiskByokEncrypted | 執行個體的付費方式。 | String |
| ecs:SessionStartAs | 映像的擁有者 UID。 | String |
| ecs:ImageSource | 安全性群組開放的傳輸層協定。 | String |
| ecs:SecurityHardeningMode | 是否為預設 VPC。 | Boolean |
| vpc:VPC | 是否為非 root 身分登入執行個體。 | String |
| ecs:IsDiskEncrypted | 是否為主金鑰加密資料磁碟。 | String |
| ecs:InstanceChargeType | 執行個體規格。 | String |
| ecs:ImageOwnerId | 是否沒有指定安全性群組 ID。 | String |
| ecs:LoginAsNonRoot | Whether to log on to the instance as non-root | Boolean |
相關操作
您可以建立自訂權限原則,並將權限原則授予 RAM 使用者、RAM 使用者組或 RAM 角色。具體操作如下: