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
YAML
format
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
JSON
format
{
"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"
]
}
}
}
}