All Products
Search
Document Center

ENS:RAM authorization

Last Updated:Nov 18, 2024
Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. You can use RAM to prevent RAM users from sharing the AccessKey pairs of your Alibaba Cloud account. You can also use RAM to grant minimum permissions to RAM users. RAM uses policies to define permissions.
This topic describes the elements, such as Action, Resource, and Condition, which are defined by ENS. You can use the elements to create policies in RAM. The code (RamCode) in RAM that is used to indicate ENS is [{"popCode":"Ens","ramCodes":["ens"]}]. You can grant permissions on ENS at the RESOURCE.

General structure of a policy

Policies can be stored as JSON files. The following code provides an example on the general structure of a policy:
{
  "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:
  • Effect: specifies the authorization effect. Valid values: Allow, Deny.
  • Action: specifies one or more API operations that are allowed or denied. For more information, see the Action section of this topic.
  • Resource: specifies one or more resources to which the policy applies. You can use an Alibaba Cloud Resource Name (ARN) to specify a resource. For more information, see the Resource section of this topic.
  • Condition: specifies one or more conditions that are required for the policy to take effect. This is an optional field. For more information, see the Condition section of this topic.
    • Condition_operator: specifies the conditional operators. Different types of conditions support different conditional operators. For more information, see Policy elements.
    • Condition_key: specifies the condition keys.
    • Condition_value: specifies the condition values.

Action

ENS defines the values that you can use in the Action element of a policy statement. The following table describes the values.
  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • API operation: the API operation that you can call to perform the operation.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition key: the condition keys that are defined by the Alibaba Cloud service. The Condition key column does not list the common condition keys that are defined by Alibaba Cloud. For more information about the common condition keys, see Generic Condition Keyword.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
ActionsAPI operationAccess levelResource typeCondition keyAssociated operation
ens:DescribeNetworkInterfacesDescribeNetworkInterfaceslist
All Resources
*
NoneNone
ens:PushApplicationDataPushApplicationData
All Resources
*
NoneNone
ens:DescribeEnsRegionsDescribeEnsRegionslist
All Resources
*
NoneNone
ens:ReleaseAICInstanceReleaseAICInstance
All Resources
*
NoneNone
ens:DeploySDGDeploySDG
All Resources
*
NoneNone
ens:DescribeDataPushResultDescribeDataPushResultget
All Resources
*
NoneNone
ens:DescribeLoadBalancerHTTPSListenerAttributeDescribeLoadBalancerHTTPSListenerAttributeget
All Resources
*
NoneNone
ens:DescribeEpnInstanceAttributeDescribeEpnInstanceAttributeget
All Resources
*
NoneNone
ens:DescribeDeviceServiceDescribeDeviceServiceget
All Resources
*
NoneNone
ens:DescribeEnsRouteEntryListDescribeEnsRouteEntryListlist
All Resources
*
NoneNone
ens:ExportBillDetailDataExportBillDetailDataget
All Resources
*
NoneNone
ens:PutBucketPutBucketcreate
All Resources
*
NoneNone
ens:DescribeBandwitdhByInternetChargeTypeDescribeBandwitdhByInternetChargeTypeget
All Resources
*
NoneNone
ens:DescribeStorageGatewayDescribeStorageGatewaylist
All Resources
*
NoneNone
ens:DeleteKeyPairsDeleteKeyPairsdelete
All Resources
*
NoneNone
ens:DescribeEnsResourceUsageDescribeEnsResourceUsageget
All Resources
*
NoneNone
ens:JoinSecurityGroupJoinSecurityGroupupdate
All Resources
*
NoneNone
ens:DescribeSDGDeploymentStatusDescribeSDGDeploymentStatusnone
All Resources
*
NoneNone
ens:DescribeSnatTableEntriesDescribeSnatTableEntrieslist
All Resources
*
NoneNone
ens:DescribeDataDownloadURLDescribeDataDownloadURLget
All Resources
*
NoneNone
ens:DescribeEnsNetDistrictDescribeEnsNetDistrictget
All Resources
*
NoneNone
ens:CreateApplicationCreateApplicationcreate
All Resources
*
NoneNone
ens:SetLoadBalancerHTTPSListenerAttributeSetLoadBalancerHTTPSListenerAttributeupdate
All Resources
*
NoneNone
ens:DescribeInstancesDescribeInstanceslist
Instance
acs:ens:*:{#accountId}:instance/{#InstanceId}
NoneNone
ens:DescribeAvailableResourceDescribeAvailableResource
All Resources
*
NoneNone
ens:StartEpnInstanceStartEpnInstanceupdate
All Resources
*
NoneNone
ens:DescribeClusterKubeConfigDescribeClusterKubeConfigget
All Resources
*
NoneNone
ens:DescribeMountTargetsDescribeMountTargets
All Resources
*
NoneNone
ens:DescribeEnsNetLevelDescribeEnsNetLevel
All Resources
*
NoneNone
ens:CreateSecurityGroupCreateSecurityGroup
All Resources
*
NoneNone
ens:DescribeAvailableResourceInfoDescribeAvailableResourceInfo
All Resources
*
NoneNone
ens:DescribeKeyPairsDescribeKeyPairsget
All Resources
*
NoneNone
ens:CreateInstanceCreateInstancecreate
Instance
acs:ens:*:{#accountId}:instance/*
NoneNone
ens:DescribeEnsRegionIdResourceDescribeEnsRegionIdResourceget
All Resources
*
NoneNone
ens:ReinitInstanceReinitInstanceupdate
All Resources
*
NoneNone
ens:CreateARMServerInstancesCreateARMServerInstancescreate
All Resources
*
NoneNone
ens:DescribeBandWithdChargeTypeDescribeBandWithdChargeTypeget
All Resources
*
NoneNone
ens:RunInstancesRunInstancescreate
Instance
acs:ens:*:{#accountId}:instance/*
NoneNone
ens:ReleasePostPaidInstanceReleasePostPaidInstancedelete
Instance
acs:ens:*:{#accountId}:instance/{#InstanceId}
NoneNone
ens:DeleteSnatEntryDeleteSnatEntrydelete
All Resources
*
NoneNone
ens:ModifyImageAttributeModifyImageAttributeupdate
All Resources
*
NoneNone
ens:PreloadRegionSDGPreloadRegionSDGnone
All Resources
*
NoneNone
ens:DescribeInstanceMonitorDataDescribeInstanceMonitorDataget
All Resources
*
NoneNone
ens:DescribeLoadBalancerSpecDescribeLoadBalancerSpecget
All Resources
*
NoneNone
ens:CreateNetworkAclCreateNetworkAcl
All Resources
*
NoneNone
ens:DescribeInstanceTypesDescribeInstanceTypesget
All Resources
*
NoneNone
ens:RemoveVSwitchesFromEpnInstanceRemoveVSwitchesFromEpnInstanceupdate
All Resources
*
NoneNone
ens:DescribeARMServerInstancesDescribeARMServerInstanceslist
All Resources
*
NoneNone
ens:SetLoadBalancerTCPListenerAttributeSetLoadBalancerTCPListenerAttributeupdate
All Resources
*
NoneNone
ens:DescribeLoadBalancerListenersDescribeLoadBalancerListenerslist
All Resources
*
NoneNone
ens:DescribeSecurityGroupsDescribeSecurityGroupsget
All Resources
*
NoneNone
ens:UnloadRegionSDGUnloadRegionSDGnone
All Resources
*
NoneNone
ens:SetLoadBalancerUDPListenerAttributeSetLoadBalancerUDPListenerAttributeupdate
All Resources
*
NoneNone
ens:ModifyHaVipAttributeModifyHaVipAttributeupdate
All Resources
*
NoneNone
ens:DeleteObjectDeleteObjectdelete
All Resources
*
NoneNone
ens:StartInstanceStartInstanceupdate
Instance
acs:ens:*:{#accountId}:instance/{#InstanceId}
NoneNone
ens:CreateClusterCreateClustercreate
All Resources
*
NoneNone
ens:DescribeInstanceSpecDescribeInstanceSpecget
All Resources
*
NoneNone
ens:DeleteVSwitchDeleteVSwitchdelete
All Resources
*
NoneNone
ens:DescribeEpnBandWidthDataDescribeEpnBandWidthDataget
All Resources
*
NoneNone
ens:ModifyLoadBalancerAttributeModifyLoadBalancerAttributeupdate
All Resources
*
NoneNone
ens:DescribeNetworkAclsDescribeNetworkAcls
All Resources
*
NoneNone
ens:AttachDiskAttachDiskupdate
All Resources
*
NoneNone
ens:DescribeSelfImagesDescribeSelfImageslist
All Resources
*
NoneNone
ens:ModifyPrepayInstanceSpecModifyPrepayInstanceSpecupdate
All Resources
*
NoneNone
ens:ModifyNetworkAttributeModifyNetworkAttributeupdate
All Resources
*
NoneNone
ens:ReInitDiskReInitDiskcreate
All Resources
*
NoneNone
ens:DeployInstanceSDGDeployInstanceSDGnone
All Resources
*
NoneNone
ens:SetBackendServersSetBackendServersupdate
All Resources
*
NoneNone
ens:CopySnapshotCopySnapshotcreate
All Resources
*
NoneNone
ens:StopInstanceStopInstanceupdate
Instance
acs:ens:*:{#accountId}:instance/{#InstanceId}
NoneNone
ens:RenewInstanceRenewInstancenone
All Resources
*
NoneNone
ens:DeleteApplicationDeleteApplicationdelete
All Resources
*
NoneNone
ens:DescribeEnsRegionIdIpv6InfoDescribeEnsRegionIdIpv6Info
All Resources
*
NoneNone
ens:RemoveSDGRemoveSDG
All Resources
*
NoneNone
ens:DeleteImageDeleteImage
All Resources
*
NoneNone
ens:DeleteSecurityGroupDeleteSecurityGroupdelete
All Resources
*
NoneNone
ens:DescribeEpnInstancesDescribeEpnInstancesget
All Resources
*
NoneNone
ens:SetLoadBalancerStatusSetLoadBalancerStatusupdate
All Resources
*
NoneNone
ens:SaveSDGSaveSDGnone
All Resources
*
NoneNone
ens:LeaveSecurityGroupLeaveSecurityGroupupdate
All Resources
*
NoneNone
ens:DescribeLoadBalancerUDPListenerAttributeDescribeLoadBalancerUDPListenerAttributeget
All Resources
*
NoneNone
ens:DescribeHaVipsDescribeHaVipslist
All Resources
*
NoneNone
ens:DescribeMeasurementDataDescribeMeasurementDataget
All Resources
*
NoneNone
ens:ExportImageExportImageget
All Resources
*
NoneNone
ens:DistApplicationDataDistApplicationData
All Resources
*
NoneNone
ens:ModifyNetworkInterfaceAttributeModifyNetworkInterfaceAttributeupdate
All Resources
*
NoneNone
ens:DescribeNetworkAttributeDescribeNetworkAttributeget
All Resources
*
NoneNone
ens:GetBucketLifecycleGetBucketLifecycleget
All Resources
*
NoneNone
ens:CreateSnapshotCreateSnapshotcreate
All Resources
*
NoneNone
ens:DescribeSDGDescribeSDGnone
All Resources
*
NoneNone
ens:CreateStorageVolumeCreateStorageVolumecreate
All Resources
*
NoneNone
ens:DescribeDisksDescribeDisksget
All Resources
*
NoneNone
ens:DescribeImageSharePermissionDescribeImageSharePermissionget
All Resources
*
NoneNone
ens:DetachNetworkInterfaceDetachNetworkInterfaceupdate
All Resources
*
NoneNone
ens:ModifyInstanceChargeTypeModifyInstanceChargeTypeupdate
Instance
acs:ens:*:{#accountId}:instance/{#InstanceId}
NoneNone
ens:DeleteSnapshotDeleteSnapshotdelete
All Resources
*
NoneNone
ens:GetBucketInfoGetBucketInfoget
All Resources
*
NoneNone
ens:DetachDiskDetachDiskupdate
All Resources
*
NoneNone
ens:CreateVSwitchCreateVSwitchcreate
All Resources
*
NoneNone
ens:RebootAICInstanceRebootAICInstance
All Resources
*
NoneNone
ens:ReleasePrePaidInstanceReleasePrePaidInstancedelete
Instance
acs:ens:*:{#accountId}:instance/{#InstanceId}
NoneNone
ens:AttachEnsInstancesAttachEnsInstancesupdate
All Resources
*
NoneNone
ens:StopLoadBalancerListenerStopLoadBalancerListenerupdate
All Resources
*
NoneNone
ens:RemovePublicIpsFromEpnInstanceRemovePublicIpsFromEpnInstanceupdate
All Resources
*
NoneNone
ens:CreateNetworkAclEntryCreateNetworkAclEntry
All Resources
*
NoneNone
ens:ListBucketsListBucketslist
All Resources
*
NoneNone
ens:DeleteMountTargetDeleteMountTarget
All Resources
*
NoneNone
ens:DeleteNetworkAclEntryDeleteNetworkAclEntry
All Resources
*
NoneNone
ens:ModifySecurityGroupAttributeModifySecurityGroupAttributeupdate
All Resources
*
NoneNone
ens:DeleteNetworkDeleteNetworkdelete
All Resources
*
NoneNone
ens:DescribeSnapshotsDescribeSnapshots
All Resources
*
NoneNone
ens:DeleteSDGDeleteSDGnone
All Resources
*
NoneNone
ens:CreateLoadBalancerHTTPListenerCreateLoadBalancerHTTPListenercreate
All Resources
*
NoneNone
ens:DescribeExportImageStatusDescribeExportImageStatusget
All Resources
*
NoneNone
ens:DescribeInstanceVncUrlDescribeInstanceVncUrlget
All Resources
*
NoneNone
ens:DescribeEpnBandwitdhByInternetChargeTypeDescribeEpnBandwitdhByInternetChargeTypeget
All Resources
*
NoneNone
ens:DeleteEpnInstanceDeleteEpnInstancedelete
All Resources
*
NoneNone
ens:ModifyEnsEipAddressAttributeModifyEnsEipAddressAttributeupdate
All Resources
*
NoneNone
ens:DeleteDiskDeleteDisk
All Resources
*
NoneNone
ens:DeleteForwardEntryDeleteForwardEntrydelete
All Resources
*
NoneNone
ens:ModifyVSwitchAttributeModifyVSwitchAttributeupdate
All Resources
*
NoneNone
ens:DescribeEnsNetSaleDistrictDescribeEnsNetSaleDistrict
All Resources
*
NoneNone
ens:RevokeSecurityGroupEgressRevokeSecurityGroupEgressupdate
All Resources
*
NoneNone
ens:DescribeSDGsDescribeSDGsnone
All Resources
*
NoneNone
ens:ExportMeasurementDataExportMeasurementDataget
All Resources
*
NoneNone
ens:AssociateEnsEipAddressAssociateEnsEipAddressupdate
All Resources
*
NoneNone
ens:DescribeClusterDescribeClusterget
All Resources
*
NoneNone
ens:PutBucketLifecyclePutBucketLifecyclenone
All Resources
*
NoneNone
ens:TagResourcesTagResourcescreate
All Resources
*
NoneNone
ens:AddSnatIpForSnatEntryAddSnatIpForSnatEntry
All Resources
*
NoneNone
ens:RunServiceScheduleRunServiceSchedule
All Resources
*
NoneNone
ens:ReleaseInstanceReleaseInstancedelete
All Resources
*
NoneNone
ens:DescribePrePaidInstanceStockDescribePrePaidInstanceStockget
All Resources
*
NoneNone
ens:RebootARMServerInstanceRebootARMServerInstance
All Resources
*
NoneNone
ens:CreateNatGatewayCreateNatGatewaycreate
All Resources
*
NoneNone
ens:DescribeLoadBalancerHTTPListenerAttributeDescribeLoadBalancerHTTPListenerAttributeget
All Resources
*
NoneNone
ens:DeleteLoadBalancerListenerDeleteLoadBalancerListenerdelete
All Resources
*
NoneNone
ens:DescribeEnsRouteTablesDescribeEnsRouteTableslist
All Resources
*
NoneNone
ens:UpgradeApplicationUpgradeApplicationupdate
All Resources
*
NoneNone
ens:DescribeVSwitchesDescribeVSwitchesget
All Resources
*
NoneNone
ens:CreateEnsRouteEntryCreateEnsRouteEntrycreate
All Resources
*
NoneNone
ens:ReleaseARMServerInstanceReleaseARMServerInstancedelete
All Resources
*
NoneNone
ens:CreateLoadBalancerTCPListenerCreateLoadBalancerTCPListenercreate
All Resources
*
NoneNone
ens:JoinPublicIpsToEpnInstanceJoinPublicIpsToEpnInstanceupdate
All Resources
*
NoneNone
ens:CreateEnsServiceCreateEnsServicecreate
All Resources
*
NoneNone
ens:DescribeForwardTableEntriesDescribeForwardTableEntrieslist
All Resources
*
NoneNone
ens:DeleteBucketDeleteBucketdelete
All Resources
*
NoneNone
ens:CreateNetworkCreateNetworkcreate
All Resources
*
NoneNone
ens:DeleteStorageVolumeDeleteStorageVolumedelete
All Resources
*
NoneNone
ens:AttachNetworkInterfaceAttachNetworkInterfaceupdate
All Resources
*
NoneNone
ens:AddDeviceInternetPortAddDeviceInternetPortcreate
All Resources
*
NoneNone
ens:JoinVSwitchesToEpnInstanceJoinVSwitchesToEpnInstanceupdate
All Resources
*
NoneNone
ens:UpgradeAICInstanceImageUpgradeAICInstanceImage
All Resources
*
NoneNone
ens:DeleteDeviceInternetPortDeleteDeviceInternetPortdelete
All Resources
*
NoneNone
ens:StartSnatIpForSnatEntryStartSnatIpForSnatEntry
All Resources
*
NoneNone
ens:RollbackApplicationRollbackApplication
All Resources
*
NoneNone
ens:RemoveBackendServersRemoveBackendServersupdate
All Resources
*
NoneNone
ens:PrepareUploadPrepareUploadnone
All Resources
*
NoneNone
ens:ResizeDiskResizeDiskupdate
All Resources
*
NoneNone
ens:AssignPrivateIpAddressesAssignPrivateIpAddressescreate
All Resources
*
NoneNone
ens:ResetDiskResetDiskupdate
All Resources
*
NoneNone
ens:DescribeImageInfosDescribeImageInfosget
All Resources
*
NoneNone
ens:ListApplicationsListApplicationsget
All Resources
*
NoneNone
ens:DescribeCloudDiskAvailableResourceInfoDescribeCloudDiskAvailableResourceInfoget
All Resources
*
NoneNone
ens:ResetDeviceInstanceResetDeviceInstance
All Resources
*
NoneNone
ens:DeleteEnsRouteEntryDeleteEnsRouteEntry
All Resources
*
NoneNone
ens:ResetAICInstanceResetAICInstance
All Resources
*
NoneNone
ens:UnassociateHaVipUnassociateHaVipupdate
All Resources
*
NoneNone
ens:DescribeDiskIopsListDescribeDiskIopsListnone
All Resources
*
NoneNone
ens:DescribeImagesDescribeImageslist
All Resources
*
NoneNone
ens:DeleteNetworkAclDeleteNetworkAcl
All Resources
*
NoneNone
ens:SetLoadBalancerHTTPListenerAttributeSetLoadBalancerHTTPListenerAttributeupdate
All Resources
*
NoneNone
ens:DescribeApplicationDescribeApplicationget
All Resources
*
NoneNone
ens:DescribeRegionIspsDescribeRegionIsps
All Resources
*
NoneNone
ens:RebootInstanceRebootInstanceupdate
Instance
acs:ens:*:{#accountId}:instance/{#InstanceId}
NoneNone
ens:DescribeEnsEipAddressesDescribeEnsEipAddresseslist
All Resources
*
NoneNone
ens:ModifyImageSharePermissionModifyImageSharePermissionupdate
Image
acs:ens::{#accountId}:image/{#ImageId}
NoneNone
ens:StopSnatIpForSnatEntryStopSnatIpForSnatEntry
All Resources
*
NoneNone
ens:RemoveInstanceSDGRemoveInstanceSDGupdate
All Resources
*
NoneNone
ens:DescribeLoadBalancersDescribeLoadBalancersget
All Resources
*
NoneNone
ens:ModifyEpnInstanceModifyEpnInstanceupdate
All Resources
*
NoneNone
ens:CreateImageCreateImagecreate
All Resources
*
NoneNone
ens:AddNetworkInterfaceToInstanceAddNetworkInterfaceToInstancecreate
All Resources
*
NoneNone
ens:ModifyInstanceAttributeModifyInstanceAttributeupdate
Instance
acs:ens:*:{#accountId}:instance/{#InstanceId}
NoneNone
ens:DescribeLoadBalancerTCPListenerAttributeDescribeLoadBalancerTCPListenerAttributeget
All Resources
*
NoneNone
ens:GetBucketAclGetBucketAclget
All Resources
*
NoneNone
ens:DeleteNatGatewayDeleteNatGateway
All Resources
*
NoneNone
ens:ImportKeyPairImportKeyPaircreate
All Resources
*
NoneNone
ens:AddBackendServersAddBackendServerscreate
All Resources
*
NoneNone
ens:StopEpnInstanceStopEpnInstanceupdate
All Resources
*
NoneNone
ens:GetOssUsageDataGetOssUsageData
All Resources
*
NoneNone
ens:CreateKeyPairCreateKeyPaircreate
All Resources
*
NoneNone
ens:CreateLoadBalancerHTTPSListenerCreateLoadBalancerHTTPSListenercreate
All Resources
*
NoneNone
ens:DescribeLoadBalancerAttributeDescribeLoadBalancerAttributeget
All Resources
*
NoneNone
ens:CreateEpnInstanceCreateEpnInstancecreate
All Resources
*
NoneNone
ens:CreateMountTargetCreateMountTarget
All Resources
*
NoneNone
ens:DescribePriceDescribePriceget
All Resources
*
NoneNone
ens:DeleteSnatIpForSnatEntryDeleteSnatIpForSnatEntrydelete
All Resources
*
NoneNone
ens:CreateStorageGatewayCreateStorageGatewaycreate
All Resources
*
NoneNone
ens:DescribeNatGatewaysDescribeNatGateways
All Resources
*
NoneNone
ens:CreateLoadBalancerCreateLoadBalancercreate
All Resources
*
NoneNone
ens:RecoverAICInstanceRecoverAICInstance
All Resources
*
NoneNone
ens:DescribeExportImageInfoDescribeExportImageInfoget
All Resources
*
NoneNone
ens:DescribeEpnMeasurementDataDescribeEpnMeasurementDataget
All Resources
*
NoneNone
ens:PutBucketAclPutBucketAclnone
All Resources
*
NoneNone
ens:ModifyForwardEntryModifyForwardEntry
All Resources
*
NoneNone
ens:AuthorizeSecurityGroupEgressAuthorizeSecurityGroupEgressupdate
All Resources
*
NoneNone
ens:DeleteBucketLifecycleDeleteBucketLifecycledelete
All Resources
*
NoneNone
ens:RevokeSecurityGroupRevokeSecurityGroupupdate
All Resources
*
NoneNone
ens:AuthorizeSecurityGroupAuthorizeSecurityGroupupdate
All Resources
*
NoneNone
ens:CreateForwardEntryCreateForwardEntrycreate
All Resources
*
NoneNone
ens:AccosicateNetworkAclAccosicateNetworkAclupdate
All Resources
*
NoneNone
ens:AssociateHaVipAssociateHaVipupdate
HaVip
acs:ens::{#accountId}:havip/{#HaVipId}
NoneNone
ens:DescribeServerLoadBalancerListenMonitorDescribeServerLoadBalancerListenMonitorlist
All Resources
*
NoneNone
ens:DescribeAICImagesDescribeAICImages
All Resources
*
NoneNone
ens:RescaleDeviceServiceRescaleDeviceService
All Resources
*
NoneNone
ens:DeleteFileSystemDeleteFileSystem
All Resources
*
NoneNone
ens:UnassignPrivateIpAddressesUnassignPrivateIpAddressesupdate
All Resources
*
NoneNone
ens:DescribeServcieScheduleDescribeServcieSchedule
All Resources
*
NoneNone
ens:DescribeSecurityGroupAttributeDescribeSecurityGroupAttributeget
All Resources
*
NoneNone
ens:CreateClassicNetworkCreateClassicNetwork
All Resources
*
NoneNone
ens:CopySDGCopySDGnone
All Resources
*
NoneNone
ens:CreateSDGCreateSDGnone
All Resources
*
NoneNone
ens:DescribeCreatePrePaidInstanceResultDescribeCreatePrePaidInstanceResultget
All Resources
*
NoneNone
ens:UnassociateNetworkAclUnassociateNetworkAclupdate
All Resources
*
NoneNone
ens:CreateDiskCreateDiskcreate
All Resources
*
NoneNone
ens:DescribeUserBandWidthDataDescribeUserBandWidthDataget
All Resources
*
NoneNone
ens:RescaleApplicationRescaleApplication
All Resources
*
NoneNone
ens:ModifyFileSystemModifyFileSystem
All Resources
*
NoneNone
ens:ModifySnapshotAttributeModifySnapshotAttribute
All Resources
*
NoneNone
ens:DescribeDataDistResultDescribeDataDistResultget
All Resources
*
NoneNone
ens:CreateFileSystemCreateFileSystem
All Resources
*
NoneNone
ens:DescribeSecondaryPublicIpAddressesDescribeSecondaryPublicIpAddresseslist
All Resources
*
NoneNone
ens:DescribeInstanceAutoRenewAttributeDescribeInstanceAutoRenewAttributeget
All Resources
*
NoneNone
ens:RestartDeviceInstanceRestartDeviceInstance
All Resources
*
NoneNone
ens:CreateSnatEntryCreateSnatEntrycreate
All Resources
*
NoneNone
ens:DescribeSnatAttributeDescribeSnatAttributeget
All Resources
*
NoneNone
ens:DescribeLoadBalancerListenMonitorDescribeLoadBalancerListenMonitornone
All Resources
*
NoneNone
ens:RenewARMServerInstanceRenewARMServerInstanceupdate
All Resources
*
NoneNone
ens:CreateEipInstanceCreateEipInstancecreate
All Resources
*
NoneNone
ens:DeleteStorageGatewayDeleteStorageGatewaydelete
All Resources
*
NoneNone
ens:DescribeNetworksDescribeNetworksget
All Resources
*
NoneNone
ens:ListObjectsListObjectslist
All Resources
*
NoneNone
ens:UnAssociateEnsEipAddressUnAssociateEnsEipAddressupdate
All Resources
*
NoneNone
ens:DescribeServerLoadBalancerMonitorDescribeServerLoadBalancerMonitorlist
All Resources
*
NoneNone
ens:DescribeFileSystemsDescribeFileSystemslist
All Resources
*
NoneNone
ens:DescribeCloudDiskTypesDescribeCloudDiskTypeslist
All Resources
*
NoneNone
ens:StartLoadBalancerListenerStartLoadBalancerListenerupdate
All Resources
*
NoneNone
ens:DescribeStorageVolumeDescribeStorageVolumelist
All Resources
*
NoneNone
ens:GetDeviceInternetPortGetDeviceInternetPortget
All Resources
*
NoneNone
ens:ModifyInstanceAutoRenewAttributeModifyInstanceAutoRenewAttributeupdate
All Resources
*
NoneNone
ens:ListTagResourcesListTagResourceslist
All Resources
*
NoneNone
ens:UntagResourcesUntagResourcesupdate
All Resources
*
NoneNone
ens:GetOssStorageAndAccByBucketsGetOssStorageAndAccByBuckets
All Resources
*
NoneNone
ens:CreateLoadBalancerUDPListenerCreateLoadBalancerUDPListenercreate
All Resources
*
NoneNone
ens:DescribeReservedResourceDescribeReservedResourceget
All Resources
*
NoneNone

Resource

ENS defines the values that you can use in the Resource. You can attach the policy to a RAM user or a RAM role so that the RAM user or the RAM role can perform a specific operation on a specific resource. The ARN is the unique identifier of the resource on Alibaba Cloud. Take note of the following items:
  • {#}indicates a variable. {#} must be replaced with an actual value. For example, {#ramcode} must be replaced with the actual code of an Alibaba Cloud service in RAM.
  • An asterisk (*) is used as a wildcard. Examples:
    • {#resourceType} is set to *, all resources are specified.
    • {#regionId} is set to *, all regions are specified.
    • {#accountId} is set to *, all Alibaba Cloud accounts are specified.
Resource typeARN
havipacs:ens::{#accountId}:havip/*
Instanceacs:ens:*:{#accountId}:instance/{#InstanceId}
Instanceacs:ens:*:{#accountId}:instance/*
Instanceacs:ens::{#accountId}:instance/{#InstanceId}
Diskacs:ens::{#accountId}:disk/{#DiskId}
HaVipacs:ens::{#accountId}:havip/{#HaVipId}
KeyPairacs:ens::{#accountId}:keyPair/{#KeyPairId}
KeyPairacs:ens::{#accountId}:keyPair/{#KeyPairName}
Instanceacs:ens::{#accountId}:instance/{#InstanceIds}
Imageacs:ens::{#accountId}:image/{#ImageId}
HaVipacs:ens::{#accountId}:havip/{#HaVipIds}
clusteracs:ens::{#accountId}:cluster/{#ClusterId}
NatGatewayForwardEntryacs:ens::{#accountId}:natgatewayforwardentry/{#ForwardEntryId}
NatGatewaySnatEntryacs:ens::{#accountId}:natgatewaysnatentry/{#SnatEntryId}
diskacs:ens::{#accountId}:disk/{#DiskId}
SecurityGroupacs:ens::{#accountId}:securitygroup/{#SecurityGroupId}
Diskacs:ens::{#accountId}:disk/*

Condition

ENS does not define service-specific condition keys. For more information about common condition keys that are defined by Alibaba Cloud, see Generic Condition Keyword.

What to do next

You can create a custom policy and attach the policy to a RAM user, RAM user group, or RAM role. For more information, see the following topics: