All Products
Search
Document Center

Resource Orchestration Service:DNS resources

Last Updated:Jun 23, 2026

Lists the AssociationProperty values available for Alibaba Cloud DNS resources in ROS templates.

AssociationProperty value

Description

Corresponding AssociationPropertyMetadata

ALIYUN::DNS::Domain::ValidateDomain

Checks the availability of a domain name.

  • RegionId: The region ID. The default value is the region of the stack.

  • DomainType: The type of the domain name.

Sample code

JSON example:

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RegionId": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::ECS::RegionId"
    },
    "DNSValidateDomain": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::DNS::Domain::ValidateDomain",
      "AssociationPropertyMetadata": {
        "RegionId": "${RegionId}"
      }
    }
  }
}

YAML example:

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RegionId:
    Type: String
    AssociationProperty: ALIYUN::ECS::RegionId
  DNSValidateDomain:
    Type: String
    AssociationProperty: ALIYUN::DNS::Domain::ValidateDomain
    AssociationPropertyMetadata:
      RegionId: ${RegionId}