Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example¶
Description¶
Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com).
Usage¶
Arguments¶
-
Name[required] The name of the traffic policy.
-
Document[required] The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.
-
Comment(Optional) Any comments that you want to include about the traffic policy.
Value¶
A list with the following syntax:
list(
TrafficPolicy = list(
Id = "string",
Version = 123,
Name = "string",
Type = "SOA"|"A"|"TXT"|"NS"|"CNAME"|"MX"|"NAPTR"|"PTR"|"SRV"|"SPF"|"AAAA"|"CAA"|"DS"|"TLSA"|"SSHFP"|"SVCB"|"HTTPS",
Document = "string",
Comment = "string"
),
Location = "string"
)