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

Syntax

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

Properties

NameTypeRequiredEditableDescriptionValidity
GroupNameStringYesYesThe name of the domain name group.None

Response parameters

Fn::GetAtt

GroupId: the ID of the domain name group.

Examples

  • YAMLformat

    ROSTemplateFormatVersion: '2015-09-01'
    Resources:
      DomainGroup:
        Type: ALIYUN::DNS::DomainGroup
        Properties:
          GroupName: TestGroup
    Parameters: {}
    Outputs:
      GroupId:
        Description: Domain name group ID
        Value:
          Fn::GetAtt:
            - DomainGroup
            - GroupId
  • JSONformat

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