All Products
Search
Document Center

Alibaba Cloud DNS:RAM authorization

Last Updated:Oct 24, 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 Alidns. You can use the elements to create policies in RAM. The code (RamCode) in RAM that is used to indicate Alidns is alidns,pubdns,pvtz. You can grant permissions on Alidns 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

Alidns 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
alidns:GetMainDomainNameGetMainDomainNameget
All Resources
*
NoneNone
alidns:DescribeDomainsDescribeDomainsget
All Resources
*
NoneNone
alidns:DescribeDnsGtmMonitorAvailableConfigDescribeDnsGtmMonitorAvailableConfigget
All Resources
*
NoneNone
alidns:ExecuteGtmRecoveryPlanExecuteGtmRecoveryPlanWRITE
All Resources
*
NoneNone
alidns:DescribeDnsGtmAddrAttributeInfoDescribeDnsGtmAddrAttributeInfoget
All Resources
*
NoneNone
alidns:AddGtmAddressPoolAddGtmAddressPoolcreate
gtminstance
acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}
NoneNone
alidns:DescribeGtmInstanceDescribeGtmInstanceget
gtminstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:DescribeDomainLogsDescribeDomainLogsget
All Resources
*
NoneNone
alidns:DescribeDnsGtmInstanceAddressPoolsDescribeDnsGtmInstanceAddressPoolsget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DeleteGtmRecoveryPlanDeleteGtmRecoveryPlandelete
All Resources
*
NoneNone
alidns:DescribeGtmAccessStrategiesDescribeGtmAccessStrategiesget
gtminstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:AddGtmMonitorAddGtmMonitorcreate
gtminstance
acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}
NoneNone
alidns:DescribeDnsGtmLogsDescribeDnsGtmLogsget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:AddGtmRecoveryPlanAddGtmRecoveryPlancreate
All Resources
*
NoneNone
alidns:DescribeDomainNsDescribeDomainNsget
domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DeleteDnsCacheDomainDeleteDnsCacheDomaindelete
CacheDomain
acs:alidns::{#accountId}:dnscache/{#DomainName}
NoneNone
alidns:BindInstanceDomainsBindInstanceDomainsWRITE
All Resources
*
NoneNone
alidns:UpdateDomainRecordRemarkUpdateDomainRecordRemarkupdate
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeSubDomainRecordsDescribeSubDomainRecordsget
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeTagsDescribeTagsget
All Resources
*
NoneNone
alidns:DeleteCustomLinesDeleteCustomLinesdelete
domain
acs:alidns::{#accountId}:domain/{#domainName}
NoneNone
alidns:UpdateDnsGtmMonitorUpdateDnsGtmMonitorupdate
MonitorConfig
acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}
NoneNone
alidns:DeleteDnsGtmAccessStrategyDeleteDnsGtmAccessStrategydelete
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DeleteGtmAddressPoolDeleteGtmAddressPooldelete
gtminstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:DescribeGtmRecoveryPlansDescribeGtmRecoveryPlansget
All Resources
*
NoneNone
alidns:UpdateGtmAddressPoolUpdateGtmAddressPoolupdate
gtminstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:RollbackGtmRecoveryPlanRollbackGtmRecoveryPlanWRITE
All Resources
*
NoneNone
alidns:AddDnsCacheDomainAddDnsCacheDomaincreate
CacheDomain
acs:alidns::{#accountId}:dnscache/*
NoneNone
alidns:PreviewGtmRecoveryPlanPreviewGtmRecoveryPlanget
All Resources
*
NoneNone
alidns:UpdateGtmMonitorUpdateGtmMonitorupdate
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:AddGtmAccessStrategyAddGtmAccessStrategycreate
gtminstance
acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}
NoneNone
alidns:UpdateDnsGtmInstanceGlobalConfigUpdateDnsGtmInstanceGlobalConfigupdate
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:AddDnsGtmAddressPoolAddDnsGtmAddressPoolcreate
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DescribeGtmInstanceAddressPoolDescribeGtmInstanceAddressPoolget
GtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:SetDomainDnssecStatusSetDomainDnssecStatusupdate
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeDnsGtmAccessStrategyDescribeDnsGtmAccessStrategyget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DescribeDnsProductInstanceDescribeDnsProductInstanceget
instance
acs:alidns::{#accountId}:instance/{#instanceId}
NoneNone
alidns:DescribeGtmAvailableAlertGroupDescribeGtmAvailableAlertGroupget
All Resources
*
NoneNone
alidns:CopyGtmConfigCopyGtmConfigWRITE
All Resources
*
NoneNone
alidns:DescribeGtmInstancesDescribeGtmInstancesget
All Resources
*
NoneNone
alidns:SetDomainRecordStatusSetDomainRecordStatusupdate
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeDnsProductInstancesDescribeDnsProductInstancesget
Instance
acs:alidns:*:{#accountId}:instance/*
NoneNone
alidns:DescribeDohAccountStatisticsDescribeDohAccountStatisticsget
All Resources
*
NoneNone
alidns:DeleteDomainRecordDeleteDomainRecorddelete
domain
acs:alidns::{#accountId}:domain/{#domainName}
NoneNone
alidns:DescribeDnsGtmInstanceStatusDescribeDnsGtmInstanceStatusget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DescribeTransferDomainsDescribeTransferDomainsget
All Resources
*
NoneNone
alidns:DescribeGtmInstanceSystemCnameDescribeGtmInstanceSystemCnameget
GtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:SetGtmMonitorStatusSetGtmMonitorStatusupdate
gtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:DescribeDomainStatisticsDescribeDomainStatisticsget
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:UpdateDomainGroupUpdateDomainGroupupdate
group
acs:alidns::{#accountId}:group/{#groupId}
NoneNone
alidns:DescribeDnsGtmAddressPoolAvailableConfigDescribeDnsGtmAddressPoolAvailableConfigget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DeleteSubDomainRecordsDeleteSubDomainRecordsdelete
domain
acs:alidns::{#accountId}:domain/{#domainName}
NoneNone
alidns:SwitchDnsGtmInstanceStrategyModeSwitchDnsGtmInstanceStrategyModeWRITE
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DescribeInstanceDomainsDescribeInstanceDomainsget
instance
acs:alidns::{#accountId}:instance/{#instanceId}
NoneNone
alidns:UpdateGtmInstanceGlobalConfigUpdateGtmInstanceGlobalConfigupdate
gtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:RetrieveDomainRetrieveDomainnone
All Resources
*
NoneNone
alidns:TransferDomainTransferDomainWRITE
All Resources
*
NoneNone
alidns:DescribeCustomLinesDescribeCustomLinesget
domain
acs:alidns::{#accountId}:domain/{#domainName}
NoneNone
alidns:AddDnsGtmMonitorAddDnsGtmMonitorcreate
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:ListTagResourcesListTagResourcesget
All Resources
*
NoneNone
alidns:DescribeDnsGtmAccessStrategyAvailableConfigDescribeDnsGtmAccessStrategyAvailableConfigget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:UpdateDnsGtmAddressPoolUpdateDnsGtmAddressPoolupdate
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DescribeSupportLinesDescribeSupportLinesget
All Resources
*
NoneNone
alidns:ModifyHichinaDomainDNSModifyHichinaDomainDNSupdate
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DeleteDnsGtmAddressPoolDeleteDnsGtmAddressPooldelete
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:UpdateGtmAccessStrategyUpdateGtmAccessStrategyupdate
gtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:DescribeDomainRecordsDescribeDomainRecordsget
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeBatchResultCountDescribeBatchResultCountget
All Resources
*
NoneNone
alidns:DescribeRecordStatisticsSummaryDescribeRecordStatisticsSummaryget
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeDnsGtmInstanceSystemCnameDescribeDnsGtmInstanceSystemCnameget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DescribeDomainRecordInfoDescribeDomainRecordInfoget
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeDomainDnssecInfoDescribeDomainDnssecInfoget
domain
acs:alidns::{#accountId}:domain/{#domainName}
NoneNone
alidns:DescribeDnsGtmInstanceDescribeDnsGtmInstanceget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DescribeCustomLineDescribeCustomLineget
Domain
acs:alidns:*:{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeGtmAccessStrategyDescribeGtmAccessStrategyget
All Resources
*
NoneNone
alidns:DescribeGtmLogsDescribeGtmLogsget
All Resources
*
NoneNone
alidns:DeleteDomainGroupDeleteDomainGroupdelete
group
acs:alidns::{#accountId}:group/{#groupId}
NoneNone
alidns:DescribeDohSubDomainStatisticsDescribeDohSubDomainStatisticsget
All Resources
*
NoneNone
alidns:DescribeDohDomainStatisticsSummaryDescribeDohDomainStatisticsSummaryget
All Resources
*
NoneNone
alidns:DescribeDohUserInfoDescribeDohUserInfoget
All Resources
*
NoneNone
alidns:DescribeDomainStatisticsSummaryDescribeDomainStatisticsSummaryget
All Resources
*
NoneNone
alidns:AddDomainBackupAddDomainBackupcreate
domain
acs:alidns::{#accountId}:domain/{#domainId}
NoneNone
alidns:DescribeDnsGtmAvailableAlertGroupDescribeDnsGtmAvailableAlertGroupget
All Resources
*
NoneNone
alidns:DescribeGtmMonitorConfigDescribeGtmMonitorConfigget
gtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:AddDomainRecordAddDomainRecordcreate
domain
acs:alidns::{#accountId}:domain/{#domainName}
NoneNone
alidns:DeleteDomainDeleteDomaindelete
domain
acs:alidns::{#accountId}:domain/{#domainName}
NoneNone
alidns:UpdateDnsGtmAccessStrategyUpdateDnsGtmAccessStrategyupdate
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:UpdateDomainRemarkUpdateDomainRemarkupdate
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:AddDomainAddDomaincreate
All Resources
*
NoneNone
alidns:DescribeGtmRecoveryPlanDescribeGtmRecoveryPlanget
All Resources
*
NoneNone
alidns:DescribeDNSSLBSubDomainsDescribeDNSSLBSubDomainsget
domain
acs:alidns::{#accountId}:domain/{#domainId}
NoneNone
alidns:DescribeGtmInstanceAddressPoolsDescribeGtmInstanceAddressPoolsget
GtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:AddDomainGroupAddDomainGroupcreate
All Resources
*
NoneNone
alidns:DescribeRecordLogsDescribeRecordLogsget
Domain
acs:alidns:*:{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeRecordResolveStatisticsSummaryDescribeRecordResolveStatisticsSummary
Domain
acs:alidns:*:{#accountId}:domain/{#DomainName}
NoneNone
alidns:SetDNSSLBStatusSetDNSSLBStatusupdate
domain
acs:alidns::{#accountId}:domain/{#domainId}
NoneNone
alidns:DescribeGtmInstanceStatusDescribeGtmInstanceStatusget
GtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:AddCustomLineAddCustomLinecreate
domain
acs:alidns::{#accountId}:domain/{#domainId}
NoneNone
alidns:UntagResourcesUntagResources
All Resources
*
NoneNone
alidns:UpdateDNSSLBWeightUpdateDNSSLBWeightupdate
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:UpdateDnsCacheDomainUpdateDnsCacheDomainupdate
CacheDomain
acs:alidns::{#accountId}:dnscache/{#DomainName}
NoneNone
alidns:DescribeDnsGtmInstancesDescribeDnsGtmInstancesget
All Resources
*
NoneNone
alidns:OperateBatchDomainOperateBatchDomainWRITE
All Resources
*
NoneNone
alidns:DescribeGtmAccessStrategyAvailableConfigDescribeGtmAccessStrategyAvailableConfigget
GtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:SetDnsGtmAccessModeSetDnsGtmAccessModeupdate
AccessStrategy
acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}
NoneNone
alidns:DeleteGtmAccessStrategyDeleteGtmAccessStrategydelete
GtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:DescribeDnsGtmMonitorConfigDescribeDnsGtmMonitorConfigget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:SetGtmAccessModeSetGtmAccessModeupdate
gtmInstance
acs:alidns::{#accountId}:gtminstance/{#instanceId}
NoneNone
alidns:DescribeDomainGroupsDescribeDomainGroupsget
All Resources
*
NoneNone
alidns:SetDnsGtmMonitorStatusSetDnsGtmMonitorStatusupdate
MonitorConfig
acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}
NoneNone
alidns:GetTxtRecordForVerifyGetTxtRecordForVerifyget
All Resources
*
NoneNone
alidns:AddDnsGtmAccessStrategyAddDnsGtmAccessStrategycreate
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:MoveDomainResourceGroupMoveDomainResourceGroupWRITE
Domain
acs:alidns::{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeDomainInfoDescribeDomainInfoget
All Resources
*
NoneNone
alidns:UpdateGtmRecoveryPlanUpdateGtmRecoveryPlanupdate
All Resources
*
NoneNone
alidns:ChangeDomainGroupChangeDomainGroupupdate
domain
acs:alidns::{#accountId}:domain/{#domainName}
group
acs:alidns::{#accountId}:group/{#groupId}
NoneNone
alidns:DescribeBatchResultDetailDescribeBatchResultDetailget
All Resources
*
NoneNone
alidns:DescribeDomainResolveStatisticsSummaryDescribeDomainResolveStatisticsSummary
All Resources
*
NoneNone
alidns:UpdateDnsCacheDomainRemarkUpdateDnsCacheDomainRemarkupdate
CacheDomain
acs:alidns::{#accountId}:dnscache/{#DomainName}
NoneNone
alidns:DescribeRecordStatisticsDescribeRecordStatisticsget
Domain
acs:alidns:*:{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeDohSubDomainStatisticsSummaryDescribeDohSubDomainStatisticsSummaryget
All Resources
*
NoneNone
alidns:UpdateDomainRecordUpdateDomainRecordupdate
domain
acs:alidns::{#accountId}:domain/{#domainId}
NoneNone
alidns:DescribeGtmRecoveryPlanAvailableConfigDescribeGtmRecoveryPlanAvailableConfigget
All Resources
*
NoneNone
alidns:DescribeGtmMonitorAvailableConfigDescribeGtmMonitorAvailableConfigget
All Resources
*
NoneNone
alidns:UpdateCustomLineUpdateCustomLineupdate
Domain
acs:alidns:*:{#accountId}:domain/{#DomainName}
NoneNone
alidns:DescribeDnsGtmInstanceAddressPoolDescribeDnsGtmInstanceAddressPoolget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:DescribeDnsCacheDomainsDescribeDnsCacheDomainsget
CacheDomain
acs:alidns::{#accountId}:dnscache/*
NoneNone
alidns:DescribeDnsGtmAccessStrategiesDescribeDnsGtmAccessStrategiesget
gtmInstance
acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
NoneNone
alidns:TagResourcesTagResources
All Resources
*
NoneNone
alidns:DescribeDohDomainStatisticsDescribeDohDomainStatisticsget
All Resources
*
alidns:test
None
alidns:UnbindInstanceDomainsUnbindInstanceDomainsWRITE
Instance
acs:alidns:*:{#accountId}:instance/{#InstanceId}
Domain
acs:alidns:*:{#accountId}:domain/{#DomainName}
NoneNone

Resource

Alidns 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
cloudGtmAddressPoolacs:alidns::{#accountId}:cloudGtmAddressPool/{#addressPoolId}
domainacs:alidns::{#accountId}:domain/*
GtmInstanceacs:alidns::{#accountId}:gtminstance/{#instanceId}
gtmInstanceacs:alidns::{#accountId}:gtmInstance/*
GtmInstanceacs:alidns:*:{#accountId}:gtminstance/{#InstanceId}
gtminstanceacs:alidns::{#accountId}:gtminstance/*
gtminstanceacs:alidns::{#accountId}:gtminstance/{#gtminstanceId}
cloudGtmAddressacs:alidns::{#accountId}:cloudGtmAddress/*
Domainacs:alidns:*:{#accountId}:domain/{#DomainName}
GtmInstanceacs:alidns::{#accountId}:gtminstance/*
gtminstanceacs:alidns::{#accountId}:gtminstance/{#instanceId}
Domainacs:alidns::{#accountId}:domain/*
gtmInstanceacs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}
cloudGtmMonitorTemplateacs:alidns::{#accountId}:cloudGtmMonitorTemplate/*
Domainacs:alidns:*:{#accountId}:flushcache/*
domainacs:alidns::{#accountId}:domain/{#domainId}
domainacs:alidns::{#accountId}:domain/{#DomainName}
CacheDomainacs:alidns::{#accountId}:dnscache/{#DomainName}
instanceacs:alidns::{#accountId}:instance/{#instanceId}
Domainacs:alidns::{#accountId}:domain/{#DomainName}
Fusionacs:alidns::{#accountId}:fusion/*
domainacs:alidns::{#accountId}:domain/{#domainName}
MonitorConfigacs:alidns:*:{#accountId}:gtminstance/{#InstanceId}
cloudGtmMonitorTemplateacs:alidns::{#accountId}:cloudGtmMonitorTemplate/{#templateId}
cloudGtmAddressacs:alidns::{#accountId}:cloudGtmAddress/{#addressId}
CacheDomainacs:alidns::{#accountId}:dnscache/*
cloudGtmAddressacs:alidns::{#accountId}:*
gtmInstnaceacs:alidns:*:{#accountId}:gtmInstnace/*
Instanceacs:alidns:*:{#accountId}:instance/*
dohacs:alidns::{#accountId}:doh/*
Domainacs:alidns:*:{#accountId}:domain/*
gtmInstanceacs:alidns::{#accountId}:gtminstance/{#instanceId}
Instanceacs:alidns:*:{#accountId}:instance/{#InstanceId}
groupacs:alidns::{#accountId}:group/{#groupId}
cloudGtmAddressacs:alidns::{#accountId}:*/*
Domainacs:alidns:*:{#accountId}:doh/*
cloudGtmAddressPoolacs:alidns::{#accountId}:cloudGtmAddressPool/{#addressId}
Domainacs:eiam:{#regionId}:{#accountId}:flushcache/*
groupacs:alidns::{#accountId}:group/*
AccessStrategyacs:alidns:*:{#accountId}:gtminstance/{#InstanceId}
groupacs:alidns:*:{#accountId}:group/*
domainacs:alidns::{#accountId}:domain/{#$domainName}
domainacs:alidns:*:{#accountId}:domain/*
instanceacs:alidns::{#accountId}:instance/*
PdnsAppKeyacs:pubdns::{#accountId}:*

Condition

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