This topic describes the types of resources that support Tag API operations and ARN examples. ARN is short for Alibaba Cloud Resource Name.

An ARN is in the format of arn:acs:${Service}:${Region}:${Account}:${ResourceType}/${ResourceId}.

Fields:

  • Service: the code of an Alibaba Cloud service
  • Region: the region ID
    Note You can use an asterisk (*) to indicate the current region.
  • Account: the ID of an Alibaba Cloud account
    Note You can use an asterisk (*) to indicate the Alibaba Cloud account that you use for logon.
  • ResourceType: the resource type
  • ResourceId: the resource ID

Elastic Compute Service

Resource typeDescriptionARN example
ALIYUN::ECS::INSTANCEInstancearn:acs:ecs:cn-hangzhou:123456789xxxxxxx:instance/i-xxxxxxxxxxxxxx
ALIYUN::ECS::DISKCloud diskarn:acs:ecs:cn-hangzhou:123456789xxxxxxx:disk/d-xxxxxxxxxxxxxx
ALIYUN::ECS::SNAPSHOTSnapshotarn:acs:ecs:cn-hangzhou:123456789xxxxxxx:snapshot/s-xxxxxxxxxxxxxx
ALIYUN::ECS::IMAGEImagearn:acs:ecs:cn-hangzhou:123456789xxxxxxx:image/i-xxxxxxxxxxxxxx
ALIYUN::ECS::SECURITYGROUPSecurity grouparn:acs:ecs:cn-hangzhou:123456789xxxxxxx:securitygroup/sg-xxxxxxxxxxxxxx
ALIYUN::ECS::VOLUMEElastic Block Storage (EBS) devicearn:acs:ecs:cn-hangzhou:123456789xxxxxxx:volume/v-xxxxxxxxxxxxxx
ALIYUN::ECS::ENIElastic network interface (ENI)arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:eni/eni-xxxxxxxxxxxxxx
ALIYUN::ECS::DDHDedicated hostarn:acs:ecs:cn-hangzhou:123456789xxxxxxx:ddh/dh-xxxxxxxxxxxxxx
ALIYUN::ECS::KEYPAIRSSH key pairarn:acs:ecs:cn-hangzhou:123456789xxxxxxx:keypair/keypairName
ALIYUN::ECS::LAUNCHTEMPLATELaunch templatearn:acs:ecs:cn-hangzhou:123456789xxxxxxx:launchtemplate/lt-xxxxxxxxxxxxxx
ALIYUN::ECS::SNAPSHOTPOLICYSnapshot policyarn:acs:ecs:cn-hangzhou:123456789xxxxxxx:snapshotpolicy/sp-xxxxxxxxxxxxxx
ALIYUN::ECS::DDHCLUSTERDedicated host clusterarn:acs:ecs:cn-hangzhou:123456789xxxxxxx:ddhcluster/dc-xxxxxxxxxxxxxx

Virtual Private Cloud

Resource typeDescriptionARN example
ALIYUN::VPC::VPCVirtual private cloud (VPC)arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:vpc/vpc-xxxxxxxxxxxxxx
ALIYUN::VPC::VSWITCHvSwitcharn:acs:vpc:cn-hangzhou:123456789xxxxxxx:vswitch/vsw-xxxxxxxxxxxxxx
ALIYUN::VPC::ROUTETABLERoute tablearn:acs:vpc:cn-hangzhou:123456789xxxxxxx:routetable/vtb-xxxxxxxxxxxxxx
ALIYUN::VPC::EIPElastic IP address (EIP)arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:eip/eip-xxxxxxxxxxxxxx
ALIYUN::VPC::COMMONBANDWIDTHPACKAGEEIP bandwidth planarn:acs:vpc:cn-hangzhou:123456789xxxxxxx:commonbandwidthpackage/cbwp-xxxxxxxxxxxxxx
ALIYUN::VPC::NATGATEWAYNAT gatewayarn:acs:vpc:cn-hangzhou:123456789xxxxxxx:natgateway/ngw-xxxxxxxxxxxxxx
ALIYUN::VPC::IPV6GATEWAYIPv6 gatewayarn:acs:vpc:cn-hangzhou:123456789xxxxxxx:ipv6gateway/xxxxxxxxxxxxxx
ALIYUN::VPC::IPV6INSTANCEIPv6 instancearn:acs:vpc:cn-hangzhou:123456789xxxxxxx:ipv6instance/xxxxxxxxxxxxxx
ALIYUN::VPC::VPNGATEWAYVPN gatewayarn:acs:vpc:cn-hangzhou:123456789xxxxxxx:vpngateway/xxxxxxxxxxxxxx
ALIYUN::VPC::IPV6BANDWIDTHIPv6 bandwidtharn:acs:vpc:cn-hangzhou:123456789xxxxxxx:ipv6bandwidth/xxxxxxxxxxxxxx

Server Load Balancer

Resource typeDescriptionARN example
ALIYUN::SLB::INSTANCEInstancearn:acs:slb:cn-hangzhou:123456789xxxxxxx:instance/lb-xxxxxxxxxxxxxx
ALIYUN::SLB::ACLAccess control list (ACL)arn:acs:slb:cn-hangzhou:123456789xxxxxxx:acl/acl-xxxxxxxxxxxxxx
ALIYUN::SLB::CERTIFICATECertificatearn:acs:slb:cn-hangzhou:123456789xxxxxxx:certificate/xxxxxxxxxxxxxx

ApsaraDB RDS

Resource typeDescriptionARN example
ALIYUN::RDS::INSTANCEInstancearn:acs:rds:cn-hangzhou:123456789xxxxxxx:instance/rm-xxxxxxxxxxxxxx

API Gateway

Resource typeDescriptionARN example
ALIYUN::APIGATEWAY::APPApplicationarn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:app/110599205xx
ALIYUN::APIGATEWAY::APIGROUPAPI grouparn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:apigroup/ea599205xx
ALIYUN::APIGATEWAY::PLUGINPlug-inarn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:plugin/11270d534xxxx
ALIYUN::APIGATEWAY::INSTANCEInstancearn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:instance/apigateway-cn-xx
ALIYUN::APIGATEWAY::APIAPIarn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:api/110599205xx

Message Queue for Apache Kafka

Resource typeDescriptionARN example
ALIYUN::ALIKAFKA::INSTANCEInstancearn:acs:alikafka:cn-hangzhou:123456789xxxxxxx:instance/xxxxx
ALIYUN::ALIKAFKA::TOPICTopicarn:acs:alikafka:cn-hangzhou:123456789xxxxxxx:topic/xxxxx
ALIYUN::ALIKAFKA::CONSUMERGROUPConsumer grouparn:acs:alikafka:cn-hangzhou:123456789xxxxxxx:consumergroup/xxxxx

Resource Orchestration Service

Resource typeDescriptionARN example
ALIYUN::ROS::STACKStackarn:acs:ros:cn-hangzhou:123456789xxxxxxx:stack/xxxxxx
ALIYUN::ROS::TEMPLATETemplatearn:acs:ros:cn-hangzhou:123456789xxxxxxx:template/xxxx

Alibaba Cloud DNS

Resource typeDescriptionARN example
ALIYUN::ALIDNS::DOMAINDomain namearn:acs:alidns:cn-hangzhou:123456789xxxxxxx:domain/xxxxx

Auto Scaling

Resource typeDescriptionARN example
ALIYUN::ESS::SCALINGGROUPScaling grouparn:acs:ess:cn-hangzhou:123456789xxxxxxx:scalinggroup/asg-xxxxx

Server Migration Center

Resource typeDescriptionARN example
ALIYUN::SMC::SOURCESERVERMigration sourcearn:acs:smc:cn-hangzhou:123456789xxxxxxx:sourceserver/s-xxxx
ALIYUN::SMC::REPLICATIONJOBMigration taskarn:acs:smc:cn-hangzhou:123456789xxxxxxx:replicationjob/j-xxxxx

PolarDB

Resource typeDescriptionARN example
ALIYUN::POLARDB::CLUSTERClusterarn:acs:polardb:cn-hangzhou:123456789xxxxxxx:cluster/pc-bp1tt38xxx

ApsaraDB for Redis

Resource typeDescriptionARN example
ALIYUN::KVSTORE::INSTANCEInstancearn:acs:kvstore:cn-hangzhou:123456789xxxxxxx:instance/m-bp11fxxx

ApsaraDB for MongoDB

Resource typeDescriptionARN example
ALIYUN::DDS::INSTANCEInstancearn:acs:dds:cn-hangzhou:123456789xxxxxxx:instance/dds-uf6ab1exxxx

Certificate Management Service

Resource typeDescriptionARN example
ALIYUN::CAS::INSTANCEInstancearn:acs:cas:cn-hangzhou:123456789xxxxxxx:instance/cas-cn-oew1xxx

Bastionhost

Resource typeDescriptionARN example
ALIYUN::BASTIONHOST::INSTANCEInstancearn:acs:bastionhost:cn-hangzhou:123456789xxxxxxx:instance/bastionhost-cn-0pxx

Elasticsearch

Resource typeDescriptionARN example
ALIYUN::ELASTICSEARCH::INSTANCEClusterarn:acs:elasticsearch:cn-hangzhou:123456789xxxxxxx:instance/es-cn-4591mxxxx

Object Storage Service

Resource typeDescriptionARN example
ALIYUN::OSS::BUCKETBucketarn:acs:oss:cn-hangzhou:123456789xxxxxxx:bucket/my-bucket-name-xxx

Smart Access Gateway

Resource typeDescriptionARN example
ALIYUN::SMARTAG::CCNCloud Connect Network (CCN) instancearn:acs:smartag:cn-shanghai:123456789xxxxxxx:ccn/ccn-xxxx

Anti-DDoS Pro

Resource typeDescriptionARN example
ALIYUN::DDOSCOO::INSTANCEInstancearn:acs:ddoscoo:cn-shanghai:123456789xxxxxxx:instance/ddoscoo-cn-xxxx

Anti-DDoS Origin Basic

Resource typeDescriptionARN example
ALIYUN::DDOSBGP::INSTANCEInstancearn:acs:ddosbgp:cn-shanghai:123456789xxxxxxx:instance/ddosbgp-cn-xxxx

PolarDB-X

Resource typeDescriptionARN example
ALIYUN::DRDS::INSTANCEInstancearn:acs:drds:cn-shanghai:123456789xxxxxxx:instance/drdsxxxxx

AnalyticDB for PostgreSQL

Resource typeDescriptionARN example
ALIYUN::GPDB::INSTANCEInstancearn:acs:gpdb:cn-shanghai:123456789xxxxxxx:instance/gp-xxxxx

Cloud Enterprise Network

Resource typeDescriptionARN example
ALIYUN::CEN::CENCloud Enterprise Network (CEN) instancearn:acs:cen:cn-shanghai:123456789xxxxxxx:cen/cen-xxxxx

AnalyticDB for MySQL

Resource typeDescriptionARN example
ALIYUN::ADB::CLUSTERClusterarn:acs:adb:cn-shanghai:123456789xxxxxxx:cluster/am-xxxxx

Cloud Storage Gateway

Resource typeDescriptionARN example
ALIYUN::HCS_SGW::GATEWAYGatewayarn:acs:hcs_sgw:cn-shanghai:123456789xxxxxxx:gateway/gw-xxxxx

Image Search

Resource typeDescriptionARN example
ALIYUN::IMAGESEARCH::INSTANCEInstancearn:acs:imagesearch:cn-shanghai:123456789xxxxxxx:instance/xxx
Note The last field xxx indicates the name of an Image Search instance.

Alibaba Cloud CDN

Resource typeDescriptionARN example
ALIYUN::CDN::DOMAINDomain namearn:acs:cdn:cn-hangzhou:123456789xxxxxxx:domain/xxx.xxx.xxx

Operation Orchestration Service

Resource typeDescriptionARN example
ALIYUN::OOS::TEMPLATETemplatearn:acs:oos:cn-hangzhou:123456789xxxxxxx:template/template_name
ALIYUN::OOS::EXECUTIONExecutionarn:acs:oos:cn-hangzhou:123456789xxxxxxx:execution/exec-xxxxxx

ApsaraDB for HBase

Resource typeDescriptionARN example
ALIYUN::MULTIMOD::CLUSTERClusterarn:acs:multimod:cn-zhangjiakou:123456789xxxxxxx:cluster/hb-8vxxxx

Apsara File Storage NAS

Resource typeDescriptionARN example
ALIYUN::NAS::FILESYSTEMFile systemarn:acs:nas:cn-hangzhou:123456789xxxxxxx:filesystem/1993fc4xxxx

E-MapReduce

Resource typeDescriptionARN example
ALIYUN::EMR::CLUSTERClusterarn:acs:emr:cn-hangzhou:123456789xxxxxxx:cluster/C-157A0610Cxxxx

Message Queue for Apache RocketMQ

Resource typeDescriptionARN example
ALIYUN::MQ::INSTANCEInstancearn:acs:mq:cn-hangzhou:123456789xxxxxxx:instance/MQ_INST_18eexxxx

Data Transmission Service

Resource typeDescriptionARN example
ALIYUN::DTS::INSTANCEInstancearn:acs:dts:cn-hangzhou:123456789xxxxxxx:instance/dtsez811qhcxxxxx

ApsaraVideo VOD

Resource typeDescriptionARN example
ALIYUN::VOD::DOMAINDomain namearn:acs:vod:cn-shanghai:123456789xxxxxxx:domain/xxx.xxx.xxx

Dynamic Route for CDN

Resource typeDescriptionARN example
ALIYUN::DCDN::DOMAINDomain namearn:acs:dcdn:cn-hangzhou:123456789xxxxxxx:domain/xxx.xxx.xxx

Realtime Compute for Apache Flink

Resource typeDescriptionARN example
ALIYUN::SCBLINKONECS::CLUSTERClusterarn:acs:scblinkonecs:cn-hangzhou:123456789xxxxxxx:cluster/blinkonecs_post-cn-st21xxxxx

Container Service for Kubernetes

Resource typeDescriptionARN example
ALIYUN::CS::CLUSTERClusterarn:acs:cs:cn-hangzhou:123456789xxxxxxx:cluster/cc5b5364662424e3ba2xxxx

Function Compute

Resource typeDescriptionARN example
ALIYUN::FC::SERVICEServicearn:acs:fc:cn-hangzhou:123456789xxxxxxx:service/test

Application Load Balancer

Resource typeDescriptionARN example
ALIYUN::ALB::LOADBALANCERInstancearn:acs:alb:cn-hangzhou:123456789xxxxxxx:loadbalancer/alb-xxxxx
ALIYUN::ALB::SERVERGROUPServer grouparn:acs:alb:cn-hangzhou:123456789xxxxxxx:servergroup/sgp-xxxxx
ALIYUN::ALB::ACLACLarn:acs:alb:cn-hangzhou:123456789xxxxxxx:acl/acl-xxxxx
ALIYUN::ALB::SECURITYPOLICYCustom security policyarn:acs:alb:cn-hangzhou:123456789xxxxxxx:securitypolicy/sp-xxxxx

Short Message Service

Resource typeDescriptionARN example
ALIYUN::DYSMS::TEMPLATETemplatearn:acs:dysms:cn-hangzhou:123456789xxxxxxx:template/SMS_xxxxx

ApsaraDB MyBase

Resource typeDescriptionARN example
ALIYUN::CDDC::DEDICATEDHOSTHost in a dedicated clusterarn:acs:cddc:cn-hangzhou:123456789xxxxxxx:dedicatedhost/ch-xxxxx

Graph Database

Resource typeDescriptionARN example
ALIYUN::GDS::INSTANCEInstancearn:acs:gds:cn-hangzhou:123456789xxxxxxx:instance/gds-xxxxx

Hybrid Backup Recovery

Resource typeDescriptionARN example
ALIYUN::HBR::CLIENTFile backup clientarn:acs:hbr:cn-hangzhou:123456789xxxxxxx:client/c-xxxxx
ALIYUN::HBR::HANAINSTANCESAP HANA instancearn:acs:hbr:cn-hangzhou:123456789xxxxxxx:hanainstance/cl-xxxxx
ALIYUN::HBR::VAULTVaultarn:acs:hbr:cn-hangzhou:123456789xxxxxxx:vault/v-xxxxx

Alibaba Cloud DNS PrivateZone

Resource typeDescriptionARN example
ALIYUN::PVTZ::ZONEPrivate zonearn:acs:pvtz:cn-hangzhou:123456789xxxxxxx:zone/xxxxxxxx

Hologres

Resource typeDescriptionARN example
ALIYUN::HOLOGRAM::INSTANCEInstancearn:acs:hologram:cn-hangzhou:123456789xxxxxxx:instance/hgxx-xx-xxxxx

ApsaraDB for Cassandra

Resource typeDescriptionARN example
ALIYUN::CDS::CLUSTERClusterarn:acs:cds:cn-hangzhou:123456789xxxxxxx:cluster/xxxxxxxx

DataV

Resource typeDescriptionARN example
ALIYUN::DATAV::SCREENScreenarn:acs:datav:cn-hangzhou:123456789xxxxxxx:screen/xxxxxxxx

DataWorks

Resource typeDescriptionARN example
ALIYUN::DIDE::PROJECTWorkspacearn:acs:dide:cn-hangzhou:123456789xxxxxxx:project/xxxxxxxx
ALIYUN::DIDE::TENANTRESOURCEGROUPResource grouparn:acs:dide:cn-hangzhou:123456789xxxxxxx:tenantresourcegroup/xxxxxxxx

Enterprise Distributed Application Service

Resource typeDescriptionARN example
ALIYUN::EDAS::CLUSTERClusterarn:acs:edas:cn-hangzhou:123456789xxxxxxx:cluster/xxxxxxxx
ALIYUN::EDAS::APPLICATIONApplicationarn:acs:edas:cn-hangzhou:123456789xxxxxxx:application/xxxxxxxx
ALIYUN::EDAS::NAMESPACENamespacearn:acs:edas:cn-hangzhou:123456789xxxxxxx:namespace/xxxxxxxx

Elastic Desktop Service

Resource typeDescriptionARN example
ALIYUN::GWS::INSTANCEInstancearn:acs:gws:cn-hangzhou:123456789xxxxxxx:instance/xxxxxxxx

ApsaraVideo Live

Resource typeDescriptionARN example
ALIYUN::LIVE::INSTANCEInstancearn:acs:live:cn-hangzhou:123456789xxxxxxx:instance/xxxxxxxx
ALIYUN::LIVE::DOMAINDomain namearn:acs:live:cn-hangzhou:123456789xxxxxxx:domain/xxxxxxxx

Data Lake Analytics

Resource typeDescriptionARN example
ALIYUN::OPENANALYTIC::INSTANCEInstancearn:acs:openanalytic:cn-hangzhou:123456789xxxxxxx:instance/xxxxxxxx

ApsaraDB for OceanBase

Resource typeDescriptionARN example
ALIYUN::OCEANBASE::INSTANCEClusterarn:acs:oceanbase:cn-hangzhou:123456789xxxxxxx:instance/xxxxxxxx
ALIYUN::OCEANBASE::TENANTTenantarn:acs:oceanbase:cn-hangzhou:123456789xxxxxxx:tenant/xxxxxxxx

Resource Management

Resource typeDescriptionARN example
ALIYUN::RM::ACCOUNTMemberarn:acs:rm:cn-hangzhou:123456789xxxxxxx:account/xxxxxxxx
ALIYUN::RM::SHAREDRESOURCEShared resourcearn:acs:rm:cn-hangzhou:123456789xxxxxxx:sharedresource/xxxxxxxx
ALIYUN::RM::INSTANCEInstancearn:acs:rm:cn-hangzhou:123456789xxxxxxx:instance/xxxxxxxx
ALIYUN::RM::RESOURCESHAREResource sharearn:acs:rm:cn-hangzhou:123456789xxxxxxx:resourceshare/xxxxxxxx
ALIYUN::RM::RESOURCEGROUPResource grouparn:acs:rm:cn-hangzhou:123456789xxxxxxx:resourcegroup/xxxxxxxx
ALIYUN::RM::TOPICTopicarn:acs:rm:cn-hangzhou:123456789xxxxxxx:topic/xxxxxxxx
ALIYUN::RM::SHAREDTARGETPrincipalarn:acs:rm:cn-hangzhou:123456789xxxxxxx:sharedtarget/xxxxxxxx

Application Real-Time Monitoring Service

Resource typeDescriptionARN example
ALIYUN::ARMS::WEBBrowser monitoringarn:acs:arms:cn-hangzhou:123456789xxxxxxx:web/xxxxxxxx
ALIYUN::ARMS::APPLICATIONApplication monitoringarn:acs:arms:cn-hangzhou:123456789xxxxxxx:application/xxxxxxxx

Network Load Balancer

Resource typeDescriptionARN example
ALIYUN::NLB::LOADBALANCERInstancearn:acs:nlb:cn-hangzhou:123456789xxxxxxx:loadbalancer/xxxxxxxx
ALIYUN::NLB::SERVERGROUPServer grouparn:acs:nlb:cn-hangzhou:123456789xxxxxxx:servergroup/xxxxxxxx
ALIYUN::NLB::SECURITYPOLICYCustom security policyarn:acs:nlb:cn-hangzhou:123456789xxxxxxx:securitypolicy/xxxxxxxx

Elastic Block Storage

Resource typeDescriptionARN example
ALIYUN::EBS::DEDICATEDBLOCKSTORAGECLUSTERDedicated block storage clusterarn:acs:ebs:cn-hangzhou:123456789xxxxxxx:dedicatedblockstoragecluster/xxxxxxxx
ALIYUN::EBS::DISKREPLICAPAIRReplication pairarn:acs:ebs:cn-hangzhou:123456789xxxxxxx:diskreplicapair/xxxxxxxx
ALIYUN::EBS::DISKREPLICAGROUPReplication pair-consistent grouparn:acs:ebs:cn-hangzhou:123456789xxxxxxx:diskreplicagroup/xxxxxxxx

PrivateLink

Resource typeDescriptionARN example
ALIYUN::PRIVATELINK::VPCENDPOINTEndpointarn:acs:privatelink:cn-hangzhou:123456789xxxxxxx:vpcendpoint/xxxxxxxx
ALIYUN::PRIVATELINK::VPCENDPOINTSERVICEEndpoint servicearn:acs:privatelink:cn-hangzhou:123456789xxxxxxx:vpcendpointservice/xxxxxxxx

Microservices Engine

Resource typeDescriptionARN example
ALIYUN::MSE::GATEWAYGatewayarn:acs:mse:cn-hangzhou:123456789xxxxxxx:gateway/xxxxxxxx
ALIYUN::MSE::CLUSTERClusterarn:acs:mse:cn-hangzhou:123456789xxxxxxx:cluster/xxxxxxxx

OpenSearch

Resource typeDescriptionARN example
ALIYUN::OPENSEARCH::INSTANCEInstancearn:acs:opensearch:cn-hangzhou:123456789xxxxxxx:instance/xxxxxxxx

Log Service

Resource typeDescriptionARN example
ALIYUN::SLS::PROJECTProjectarn:acs:sls:cn-hangzhou:123456789xxxxxxx:project/xxxxxxxx

Lindorm

Resource typeDescriptionARN example
ALIYUN::HITSDB::INSTANCEInstancearn:acs:hitsdb:cn-hangzhou:123456789xxxxxxx:instance/xxxxxxxx

Global Accelerator

Resource typeDescriptionARN example
ALIYUN::GA::ACLACLarn:acs:ga:cn-hangzhou:123456789xxxxxxx:acl/xxxxxxxx
ALIYUN::GA::ACCELERATORStandard Global Accelerator (GA) instancearn:acs:ga:cn-hangzhou:123456789xxxxxxx:accelerator/xxxxxxxx
ALIYUN::GA::BASICACCELERATORBasic GA instancearn:acs:ga:cn-hangzhou:123456789xxxxxxx:basicaccelerator/xxxxxxxx
ALIYUN::GA::BANDWIDTHPACKAGEBandwidth planarn:acs:ga:cn-hangzhou:123456789xxxxxxx:bandwidthpackage/xxxxxxxx