-
Notifications
You must be signed in to change notification settings - Fork 35
/
domain-record.yml
40 lines (40 loc) · 1.03 KB
/
domain-record.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
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建DNS域名记录,支持A、CNAME等类型,自定义域名、主机记录与值。
en: Create DNS domain records supporting types such as A, CNAME, and others, enabling
customization of domain names, host records, and values.
Parameters:
DomainName:
Type: String
Description: Domain Name
RR:
Type: String
Description: Host Records
Default: mytest
Type:
Type: String
Description: 'Record Type, Allowed Values: A、CNAME、NS、MX、TXT、SRV、CAA、REDIRECT_URL、FORWARD_URL'
Default: A
Value:
Type: String
Description: Please refer to <a href='https://help.aliyun.com/document_detail/29772.html'>Type
of Parse Record</a>
Default: 10.0.0.3
Resources:
record:
Type: ALIYUN::DNS::DomainRecord
Properties:
DomainName:
Ref: DomainName
RR:
Ref: RR
Type:
Ref: Type
Value:
Ref: Value
Outputs:
RecordId:
Value:
Fn::GetAtt:
- record
- RecordId