ALIYUN::DNS::DomainGroup is used to add a domain name group.

Syntax

{
  "Type": "ALIYUN::DNS::DomainGroup",
  "Properties": {
    "GroupName": String
  }
}

Properties

Name Type Required Editable Description Validity
GroupName String Yes Yes The name of the domain name group. None

Response parameters

Fn::GetAtt

GroupId: the ID of the domain name group.

Examples

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "DomainGroup": {
      "Type": "ALIYUN::DNS::DomainGroup",
      "Properties": {
        "GroupName": {
          "Ref": "GroupName"
        }
      }
    }
  },
  "Parameters": {
    "GroupName": {
      "Type": "String",
      "Description": "Domain name group name"
    }
  },
  "Outputs": {
    "GroupId": {
      "Description": "Domain name group ID",
      "Value": {
        "Fn::GetAtt": [
          "DomainGroup",
          "GroupId"
        ]
      }
    }
  }
}