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 type | ARN example |
---|---|
ALIYUN::ECS::INSTANCE | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:instance/i-xxxxxxxxxxxxxx |
ALIYUN::ECS::DISK | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:disk/d-xxxxxxxxxxxxxx |
ALIYUN::ECS::SNAPSHOT | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:snapshot/s-xxxxxxxxxxxxxx |
ALIYUN::ECS::IMAGE | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:image/i-xxxxxxxxxxxxxx |
ALIYUN::ECS::SECURITYGROUP | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:securitygroup/sg-xxxxxxxxxxxxxx |
ALIYUN::ECS::VOLUME | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:volume/v-xxxxxxxxxxxxxx |
ALIYUN::ECS::ENI | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:eni/eni-xxxxxxxxxxxxxx |
ALIYUN::ECS::DDH | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:ddh/dh-xxxxxxxxxxxxxx |
ALIYUN::ECS::KEYPAIR | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:keypair/keypairName |
ALIYUN::ECS::LAUNCHTEMPLATE | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:launchtemplate/lt-xxxxxxxxxxxxxx |
ALIYUN::ECS::SNAPSHOTPOLICY | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:snapshotpolicy/sp-xxxxxxxxxxxxxx |
ALIYUN::ECS::DDHCLUSTER | arn:acs:ecs:cn-hangzhou:123456789xxxxxxx:ddhcluster/dc-xxxxxxxxxxxxxx |
Virtual Private Cloud
Resource type | ARN example |
---|---|
ALIYUN::VPC::VPC | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:vpc/vpc-xxxxxxxxxxxxxx |
ALIYUN::VPC::VSWTICH | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:vswitch/vsw-xxxxxxxxxxxxxx |
ALIYUN::VPC::ROUTETABLE | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:routetable/vtb-xxxxxxxxxxxxxx |
ALIYUN::VPC::EIP | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:eip/eip-xxxxxxxxxxxxxx |
ALIYUN::VPC::COMMONBANDWIDTHPACKAGE | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:commonbandwidthpackage/cbwp-xxxxxxxxxxxxxx |
ALIYUN::VPC::NATGATEWAY | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:natgateway/ngw-xxxxxxxxxxxxxx |
ALIYUN::VPC::IPV6GATEWAY | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:ipv6gateway/xxxxxxxxxxxxxx |
ALIYUN::VPC::IPV6INSTANCE | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:ipv6instance/xxxxxxxxxxxxxx |
ALIYUN::VPC::VPNGATEWAY | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:vpngateway/xxxxxxxxxxxxxx |
ALIYUN::VPC::IPV6BANDWIDTH | arn:acs:vpc:cn-hangzhou:123456789xxxxxxx:ipv6bandwidth/xxxxxxxxxxxxxx |
Server Load Balancer
Resource type | ARN example |
---|---|
ALIYUN::SLB::INSTANCE | arn:acs:slb:cn-hangzhou:123456789xxxxxxx:instance/lb-xxxxxxxxxxxxxx |
ALIYUN::SLB::ACL | arn:acs:slb:cn-hangzhou:123456789xxxxxxx:acl/acl-xxxxxxxxxxxxxx |
ALIYUN::SLB::CERTIFICATE | arn:acs:slb:cn-hangzhou:123456789xxxxxxx:certificate/xxxxxxxxxxxxxx |
ApsaraDB RDS
Resource type | ARN example |
---|---|
ALIYUN::RDS::INSTANCE | arn:acs:rds:cn-hangzhou:123456789xxxxxxx:instance/rm-xxxxxxxxxxxxxx |
API Gateway
Resource type | ARN example |
---|---|
ALIYUN::APIGATEWAY::APP | arn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:app/110599205xx |
ALIYUN::APIGATEWAY::APIGROUP | arn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:apigroup/ea599205xx |
ALIYUN::APIGATEWAY::PLUGIN | arn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:plugin/11270d534xxxx |
ALIYUN::APIGATEWAY::INSTANCE | arn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:instance/apigateway-cn-xx |
ALIYUN::APIGATEWAY::API | arn:acs:apigateway:cn-hangzhou:123456789xxxxxxx:api/110599205xx |
Message Queue for Apache Kafka
Resource type | ARN example |
---|---|
ALIYUN::ALIKAFKA::INSTANCE | arn:acs:alikafka:cn-hangzhou:123456789xxxxxxx:instance/xxxxx |
ALIYUN::ALIKAFKA::TOPIC | arn:acs:alikafka:cn-hangzhou:123456789xxxxxxx:topic/xxxxx |
ALIYUN::ALIKAFKA::CONSUMERGROUP | arn:acs:alikafka:cn-hangzhou:123456789xxxxxxx:consumergroup/xxxxx |
Resource Orchestration Service
Resource type | ARN example |
---|---|
ALIYUN::ROS::STACK | arn:acs:ros:cn-hangzhou:123456789xxxxxxx:stack/xxxxxx |
ALIYUN::ROS::TEMPLATE | arn:acs:ros:cn-hangzhou:123456789xxxxxxx:template/xxxx |
Alibaba Cloud DNS
Resource type | ARN example |
---|---|
ALIYUN::ALIDNS::DOMAIN | arn:acs:alidns:cn-hangzhou:123456789xxxxxxx:domain/xxxxx |
Auto Scaling
Resource type | ARN example |
---|---|
ALIYUN::ESS::SCALINGGROUP | arn:acs:ess:cn-hangzhou:123456789xxxxxxx:scalinggroup/asg-xxxxx |
Server Migration Center
Resource type | ARN example |
---|---|
ALIYUN::SMC::SOURCESERVER | arn:acs:smc:cn-hangzhou:123456789xxxxxxx:sourceserver/s-xxxx |
ALIYUN::SMC::REPLICATIONJOB | arn:acs:smc:cn-hangzhou:123456789xxxxxxx:replicationjob/j-xxxxx |
PolarDB
Resource type | ARN example |
---|---|
ALIYUN::POLARDB::CLUSTER | arn:acs:polardb:cn-hangzhou:123456789xxxxxxx:cluster/pc-bp1tt38xxx |
ApsaraDB for Redis
Resource type | ARN example |
---|---|
ALIYUN::KVSTORE::INSTANCE | arn:acs:kvstore:cn-hangzhou:123456789xxxxxxx:instance/m-bp11fxxx |
ApsaraDB for MongoDB
Resource type | ARN example |
---|---|
ALIYUN::DDS::INSTANCE | arn:acs:dds:cn-hangzhou:123456789xxxxxxx:instance/dds-uf6ab1exxxx |
SSL Certificates Service
Resource type | ARN example |
---|---|
ALIYUN::CAS::INSTANCE | arn:acs:cas:cn-hangzhou:123456789xxxxxxx:instance/cas-cn-oew1xxx |
Bastionhost
Resource type | ARN example |
---|---|
ALIYUN::BASTIONHOST::INSTANCE | arn:acs:bastionhost:cn-hangzhou:123456789xxxxxxx:instance/bastionhost-cn-0pxx |
Elasticsearch
Resource type | ARN example |
---|---|
ALIYUN::ELASTICSEARCH::INSTANCE | arn:acs:elasticsearch:cn-hangzhou:123456789xxxxxxx:instance/es-cn-4591mxxxx |
Object Storage Service
Resource type | ARN example |
---|---|
ALIYUN::OSS::BUCKET | arn:acs:oss:cn-hangzhou:123456789xxxxxxx:bucket/my-bucket-name-xxx |
Anti-DDoS Pro
Resource type | ARN example |
---|---|
ALIYUN::DDOSCOO::INSTANCE | arn:acs:ddoscoo:cn-shanghai:123456789xxxxxxx:instance/ddoscoo-cn-xxxx |
Anti-DDoS Origin Basic
Resource type | ARN example |
---|---|
ALIYUN::DDOSBGP::INSTANCE | arn:acs:ddosbgp:cn-shanghai:123456789xxxxxxx:instance/ddosbgp-cn-xxxx |
PolarDB-X
Resource type | ARN example |
---|---|
ALIYUN::DRDS::INSTANCE | arn:acs:drds:cn-shanghai:123456789xxxxxxx:instance/drdsxxxxx |
AnalyticDB for PostgreSQL
Resource type | ARN example |
---|---|
ALIYUN::GPDB::INSTANCE | arn:acs:gpdb:cn-shanghai:123456789xxxxxxx:instance/gp-xxxxx |
Cloud Enterprise Network
Resource type | ARN example |
---|---|
ALIYUN::CEN::CEN | arn:acs:cen:cn-shanghai:123456789xxxxxxx:cen/cen-xxxxx |
AnalyticDB for MySQL
Resource type | ARN example |
---|---|
ALIYUN::ADB::CLUSTER | arn:acs:adb:cn-shanghai:123456789xxxxxxx:cluster/am-xxxxx |
Cloud Storage Gateway
Resource type | ARN example |
---|---|
ALIYUN::HCS_SGW::GATEWAY | arn:acs:hcs_sgw:cn-shanghai:123456789xxxxxxx:gateway/gw-xxxxx |
Image Search
Resource type | ARN example |
---|---|
ALIYUN::IMAGESEARCH::INSTANCE | arn:acs:imagesearch:cn-shanghai:123456789xxxxxxx:instance/xxx
Note The last field xxx indicates the name of an Image Search instance.
|
Alibaba Cloud CDN
Resource type | ARN example |
---|---|
ALIYUN::CDN::DOMAIN | arn:acs:cdn:cn-hangzhou:123456789xxxxxxx:domain/aaaaa.xxxxexam.cn |
Operation Orchestration Service
Resource type | ARN example |
---|---|
ALIYUN::OOS::TEMPLATE | arn:acs:oos:cn-hangzhou:123456789xxxxxxx:template/template_name |
ALIYUN::OOS::EXECUTION | arn:acs:oos:cn-hangzhou:123456789xxxxxxx:execution/exec-xxxxxx |
ApsaraDB for HBase
Resource type | ARN example |
---|---|
ALIYUN::MULTIMOD::CLUSTER | arn:acs:multimod:cn-zhangjiakou:123456789xxxxxxx:cluster/hb-8vxxxx |
Apsara File Storage NAS
Resource type | ARN example |
---|---|
ALIYUN::NAS::FILESYSTEM | arn:acs:nas:cn-hangzhou::123456789xxxxxxx:filesystem/1993fc4xxxx |
E-MapReduce
Resource type | ARN example |
---|---|
ALIYUN::EMR::CLUSTER | arn:acs:emr:cn-hangzhou::123456789xxxxxxx:cluster/C-157A0610Cxxxx |
Message Queue for Apache RocketMQ
Resource type | ARN example |
---|---|
ALIYUN::MQ::INSTANCE | arn:acs:mq:cn-hangzhou::123456789xxxxxxx:instance/MQ_INST_18eexxxx |