All Products
Search
Document Center

CDN:RAM authorization

最終更新日:Aug 06, 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 CDN. You can use the elements to create policies in RAM. The code (RamCode) in RAM that is used to indicate CDN is cdn. You can grant permissions on CDN 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

CDN 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
cdn:DescribeDomainVerifyDataDescribeDomainVerifyDataget
All Resources
*
NoneNone
cdn:DeleteUserUsageDataExportTaskDeleteUserUsageDataExportTasknone
All Resources
*
NoneNone
cdn:DescribeDomainUsageDataDescribeDomainUsageDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:AddFCTriggerAddFCTriggercreate
All Resources
*
NoneNone
cdn:DescribeDomainBpsDataByLayerDescribeDomainBpsDataByLayernone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:EnableRealtimeLogDeliveryEnableRealtimeLogDeliveryWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeBlockedRegionsDescribeBlockedRegionsget
All Resources
*
NoneNone
cdn:ListUserCustomLogConfigListUserCustomLogConfiglist
All Resources
*
NoneNone
cdn:DescribeDomainRealtimeLogDeliveryDescribeDomainRealtimeLogDeliveryget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:BatchDeleteCdnDomainConfigBatchDeleteCdnDomainConfigdelete
Domain
acs:cdn:*:{#accountId}:domain/{#DomainNames}
NoneNone
cdn:DescribeCdnOrderCommodityCodeDescribeCdnOrderCommodityCodenone
All Resources
*
NoneNone
cdn:DescribeCdnDeletedDomainsDescribeCdnDeletedDomainsget
All Resources
*
NoneNone
cdn:DescribeCdnSMCertificateListDescribeCdnSMCertificateListget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DisableRealtimeLogDeliveryDisableRealtimeLogDeliveryWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DeleteCdnDeliverTaskDeleteCdnDeliverTaskdelete
All Resources
*
NoneNone
cdn:DescribeDomainQpsDataByLayerDescribeDomainQpsDataByLayernone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:SetCdnDomainCSRCertificateSetCdnDomainCSRCertificateupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:ListRealtimeLogDeliveryDomainsListRealtimeLogDeliveryDomains
All Resources
*
NoneNone
cdn:BatchSetCdnDomainConfigBatchSetCdnDomainConfigupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainNames}
NoneNone
cdn:SetCdnDomainSMCertificateSetCdnDomainSMCertificatenone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnMigrateRegisterStatusDescribeCdnMigrateRegisterStatusnone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeUserDomainsDescribeUserDomainsget
Domain
acs:cdn:*:{#accountId}:domain/*
NoneNone
cdn:DeleteUsageDetailDataExportTaskDeleteUsageDetailDataExportTasknone
All Resources
*
NoneNone
cdn:SetCdnDomainSSLCertificateSetCdnDomainSSLCertificateupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:UpdateCdnDeliverTaskUpdateCdnDeliverTaskupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:BatchUpdateCdnDomainBatchUpdateCdnDomainupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeIpStatusDescribeIpStatusnone
All Resources
*
NoneNone
cdn:TagResourcesTagResourcesupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainRealTimeReqHitRateDataDescribeDomainRealTimeReqHitRateDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:CheckCdnDomainExistCheckCdnDomainExistnone
Domain
acs:cdn:*:{#AccountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnDomainStagingConfigDescribeCdnDomainStagingConfigget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeTagResourcesDescribeTagResourcesget
All Resources
*
NoneNone
cdn:DeleteRealtimeLogDeliveryDeleteRealtimeLogDeliveryWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnSecFuncInfoDescribeCdnSecFuncInfoget
All Resources
*
NoneNone
cdn:DescribeDomainTrafficDataDescribeDomainTrafficDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:BatchSetCdnDomainServerCertificateBatchSetCdnDomainServerCertificateupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnDomainConfigsDescribeCdnDomainConfigsget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnUserQuotaDescribeCdnUserQuotaget
All Resources
*
NoneNone
cdn:DescribeCdnCertificateDetailByIdDescribeCdnCertificateDetailByIdget
All Resources
*
NoneNone
cdn:DescribeDomainRealTimeTrafficDataDescribeDomainRealTimeTrafficDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnDeliverListDescribeCdnDeliverListget
All Resources
*
NoneNone
cdn:DescribeVerifyContentDescribeVerifyContentget
All Resources
*
NoneNone
cdn:PushObjectCachePushObjectCachenone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainCnameDescribeDomainCnameget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainPathDataDescribeDomainPathDataget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainRealTimeByteHitRateDataDescribeDomainRealTimeByteHitRateDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:VerifyDomainOwnerVerifyDomainOwnerget
All Resources
*
NoneNone
cdn:DescribeFCTriggerDescribeFCTriggerget
All Resources
*
NoneNone
cdn:ListTagResourcesListTagResourcesget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeEsExceptionDataDescribeEsExceptionDataget
All Resources
*
NoneNone
cdn:DescribeRefreshQuotaDescribeRefreshQuotaget
All Resources
*
NoneNone
cdn:ModifyCdnDomainModifyCdnDomainupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribePreloadDetailByIdDescribePreloadDetailByIdget
All Resources
*
NoneNone
cdn:AddCdnDomainAddCdnDomainWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeUserCertificateExpireCountDescribeUserCertificateExpireCountget
All Resources
*
NoneNone
cdn:DescribeUserTagsDescribeUserTagsget
All Resources
*
NoneNone
cdn:DescribeCdnDomainDetailDescribeCdnDomainDetailget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:BatchStartCdnDomainBatchStartCdnDomainupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainNames}
NoneNone
cdn:DescribeCdnDomainByCertificateDescribeCdnDomainByCertificateget
All Resources
*
NoneNone
cdn:CreateRealTimeLogDeliveryCreateRealTimeLogDeliveryWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#Domain}
NoneNone
cdn:DescribeUserUsageDataExportTaskDescribeUserUsageDataExportTaskget
All Resources
*
NoneNone
cdn:RefreshObjectCachesRefreshObjectCachesnone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainHitRateDataDescribeDomainHitRateDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeEsExecuteDataDescribeEsExecuteDatanone
All Resources
*
NoneNone
cdn:DescribeDomainBpsDataByTimeStampDescribeDomainBpsDataByTimeStampnone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:CreateCdnCertificateSigningRequestCreateCdnCertificateSigningRequestcreate
All Resources
*
NoneNone
cdn:DescribeDomainDetailDataByLayerDescribeDomainDetailDataByLayernone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeRefreshTasksDescribeRefreshTasksnone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:ChangeCdnDomainToDcdnChangeCdnDomainToDcdnnone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeL2VipsByDomainDescribeL2VipsByDomainget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainRealTimeSrcTrafficDataDescribeDomainRealTimeSrcTrafficDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:StopCdnDomainStopCdnDomainWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainCcActivityLogDescribeDomainCcActivityLogget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainHttpCodeDataByLayerDescribeDomainHttpCodeDataByLayernone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainCertificateInfoDescribeDomainCertificateInfoget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainBpsDataDescribeDomainBpsDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainSrcBpsDataDescribeDomainSrcBpsDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainSrcQpsDataDescribeDomainSrcQpsDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:BatchDescribeCdnIpInfoBatchDescribeCdnIpInfoget
All Resources
*
NoneNone
cdn:StartCdnDomainStartCdnDomainWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnReportListDescribeCdnReportListget
All Resources
*
NoneNone
cdn:ModifyCdnDomainSchdmByPropertyModifyCdnDomainSchdmByPropertyWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainRealTimeHttpCodeDataDescribeDomainRealTimeHttpCodeDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCertificateInfoByIDDescribeCertificateInfoByIDget
All Resources
*
NoneNone
cdn:DescribeDomainQpsDataDescribeDomainQpsDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainRealTimeSrcBpsDataDescribeDomainRealTimeSrcBpsDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeRealtimeDeliveryAccDescribeRealtimeDeliveryAccget
All Resources
*
NoneNone
cdn:BatchStopCdnDomainBatchStopCdnDomainupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:CreateUsageDetailDataExportTaskCreateUsageDetailDataExportTasknone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainNames}
NoneNone
cdn:DescribeDomainReqHitRateDataDescribeDomainReqHitRateDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DeleteSpecificStagingConfigDeleteSpecificStagingConfigdelete
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnSSLCertificateListDescribeCdnSSLCertificateListget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnConditionIPBInfoDescribeCdnConditionIPBInfonone
All Resources
*
NoneNone
cdn:DescribeCdnHttpsDomainListDescribeCdnHttpsDomainListget
All Resources
*
NoneNone
cdn:DescribeCdnUserBillHistoryDescribeCdnUserBillHistorynone
All Resources
*
NoneNone
cdn:DescribeDomainRealTimeSrcHttpCodeDataDescribeDomainRealTimeSrcHttpCodeDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainRealTimeQpsDataDescribeDomainRealTimeQpsDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:UntagResourcesUntagResourcesupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:CreateCdnSubTaskCreateCdnSubTaskcreate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainsUsageByDayDescribeDomainsUsageByDaynone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainHttpCodeDataDescribeDomainHttpCodeDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnCertificateListDescribeCdnCertificateListget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:OpenCdnServiceOpenCdnServicenone
All Resources
*
NoneNone
cdn:CheckCdnDomainICPCheckCdnDomainICPnone
All Resources
*
NoneNone
cdn:DescribeUserUsageDetailDataExportTaskDescribeUserUsageDetailDataExportTaskget
All Resources
*
NoneNone
cdn:DescribeStagingIpDescribeStagingIpget
All Resources
*
NoneNone
cdn:DescribeCdnUserBillPredictionDescribeCdnUserBillPredictionnone
All Resources
*
NoneNone
cdn:DescribeRangeDataByLocateAndIspServiceDescribeRangeDataByLocateAndIspServicenone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:ModifyRealtimeLogDeliveryModifyRealtimeLogDeliveryWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCustomLogConfigDescribeCustomLogConfigget
All Resources
*
NoneNone
cdn:SetCdnDomainStagingConfigSetCdnDomainStagingConfigupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnServiceDescribeCdnServiceget
All Resources
*
NoneNone
cdn:DescribeDomainCustomLogConfigDescribeDomainCustomLogConfigget
Domain
acs:cdn:*:{#accountId}:domain/{#domainId}
NoneNone
cdn:BatchAddCdnDomainBatchAddCdnDomaincreate
Domain
acs:cdn:*:{#accountId}:domain/*
NoneNone
cdn:UpdateFCTriggerUpdateFCTriggerupdate
All Resources
*
NoneNone
cdn:ListDomainsByLogConfigIdListDomainsByLogConfigIdlist
All Resources
*
NoneNone
cdn:ListFCTriggerListFCTriggerget
All Resources
*
NoneNone
cdn:DeleteCdnDomainDeleteCdnDomainWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnSubListDescribeCdnSubListget
All Resources
*
NoneNone
cdn:DescribeDomainSrcHttpCodeDataDescribeDomainSrcHttpCodeDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DeleteFCTriggerDeleteFCTriggerdelete
All Resources
*
NoneNone
cdn:SetDomainServerCertificateSetDomainServerCertificatenone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeIpInfoDescribeIpInfoget
All Resources
*
NoneNone
cdn:DescribeDomainSrcTrafficDataDescribeDomainSrcTrafficDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:CreateCdnDeliverTaskCreateCdnDeliverTaskcreate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnUserResourcePackageDescribeCdnUserResourcePackageget
All Resources
*
NoneNone
cdn:SetWaitingRoomConfigSetWaitingRoomConfigWRITE
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DeleteCdnSubTaskDeleteCdnSubTaskdelete
All Resources
*
NoneNone
cdn:UpdateCdnSubTaskUpdateCdnSubTaskupdate
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnRegionAndIspDescribeCdnRegionAndIspnone
All Resources
*
NoneNone
cdn:ModifyCdnDomainOwnerModifyCdnDomainOwnerupdate
All Resources
*
NoneNone
cdn:ListRealtimeLogDeliveryInfosListRealtimeLogDeliveryInfosget
All Resources
*
NoneNone
cdn:CreateUserUsageDataExportTaskCreateUserUsageDataExportTasknone
All Resources
*
NoneNone
cdn:DescribeDomainRealTimeBpsDataDescribeDomainRealTimeBpsDatanone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:CdnMigrateRegisterCdnMigrateRegisternone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DeleteSpecificConfigDeleteSpecificConfigdelete
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeUserVipsByDomainDescribeUserVipsByDomainnone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:RollbackStagingConfigRollbackStagingConfigdelete
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnCertificateDetailDescribeCdnCertificateDetailnone
All Resources
*
NoneNone
cdn:DeleteRealTimeLogLogstoreDeleteRealTimeLogLogstoreget
All Resources
*
NoneNone
cdn:PublishStagingConfigToProductionPublishStagingConfigToProductionnone
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeCdnDomainLogsDescribeCdnDomainLogsget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeRefreshTaskByIdDescribeRefreshTaskByIdget
All Resources
*
NoneNone
cdn:DescribeCdnUserConfigsDescribeCdnUserConfigsget
All Resources
*
NoneNone
cdn:DescribeCdnReportDescribeCdnReportget
Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
NoneNone
cdn:DescribeDomainsBySourceDescribeDomainsBySourcenone
All Resources
*
NoneNone
cdn:DescribeCdnUserDomainsByFuncDescribeCdnUserDomainsByFuncget
All Resources
*
NoneNone
cdn:DescribeCdnSMCertificateDetailDescribeCdnSMCertificateDetailnone
All Resources
*
NoneNone

Resource

CDN 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
Domainacs:cdn:*:{#accountId}:domain/{#DomainName}
Domainacs:cdn:*:{#accountId}:domain/{#DomainNames}
Domainacs:cdn::{#accountId}:domain/{#DomainName}
Domainacs:cdn:*:{#accountId}:domain/*
Domainacs:cdn:*:{#AccountId}:domain/{#DomainName}
Domainacs:cdn:*:{#accountId}:*
Domainacs:cdn:*:{#accountId}:domain/{#Domain}
Domainacs:cdn::{#AccountId}:domain/{#DomainName}
Domainacs:cdn:{#regionId}:{#accountId}:domain/{#DomainName}
Domainacs:cdn:*:{#accountId}:domain/{#domainId}
Domainacs:cdn::{#accountId}:domain/{#DomainNames}

Condition

CDN 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: