forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
domain.yml
58 lines (58 loc) · 1.15 KB
/
domain.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
ROSTemplateFormatVersion: '2015-09-01'
Description: DNS Domain/DomainGroup resource example
Parameters:
GroupName:
Type: String
Default: mytest
DomainName:
Type: String
Resources:
DomainGroup:
Type: ALIYUN::DNS::DomainGroup
Properties:
GroupName:
Ref: GroupName
Domain:
Type: ALIYUN::DNS::Domain
Properties:
GroupId:
Ref: DomainGroup
DomainName:
Ref: DomainName
Outputs:
GroupId:
Description: Domain name group ID
Value:
Fn::GetAtt:
- DomainGroup
- GroupId
DomainId:
Description: Domain ID
Value:
Fn::GetAtt:
- Domain
- DomainId
DomainName:
Description: Domain name
Value:
Fn::GetAtt:
- Domain
- DomainName
DnsServers:
Description: The DNS list for the domain name under resolution
Value:
Fn::GetAtt:
- Domain
- DnsServers
GroupName:
Description: The name of the domain name group
Value:
Fn::GetAtt:
- Domain
- GroupName
PunyCode:
Description: punycode returned only for a Chinese domain name
Value:
Fn::GetAtt:
- Domain
- PunyCode