ZoneProps
Properties for defining a Zone.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-zone
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpvtz"
&alicloudroscdkpvtz.ZoneProps {
ZoneName: interface{},
DnsGroup: interface{},
IgnoredStackTagKeys: interface{},
ProxyPattern: interface{},
Remark: interface{},
ResourceGroupId: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkpvtz.RosZone.TagsProperty,
}
Properties
| Name | Type | Description |
|---|---|---|
ZoneName | interface{} | Property zoneName: Zone name. |
DnsGroup | interface{} | Property dnsGroup: The location of the built-in authoritative zone. |
IgnoredStackTagKeys | interface{} | Property ignoredStackTagKeys: Stack tag keys to ignore. |
ProxyPattern | interface{} | Property proxyPattern: Specifies whether to enable subdomain recursive proxy. |
Remark | interface{} | Property remark: 50 characters at most. |
ResourceGroupId | interface{} | Property resourceGroupId: Resource group id. |
Tags | *[]TagsProperty | Property tags: Tags to attach to instance. |
ZoneNameRequired
ZoneName interface{}
- Type: interface{}
Property zoneName: Zone name.
DnsGroupOptional
DnsGroup interface{}
- Type: interface{}
Property dnsGroup: The location of the built-in authoritative zone.
Valid values:
- NORMAL_ZONE: Standard zone. DNS responses are cached. If a cache miss occurs, the query is sent to the built-in authoritative standard zone. The time to live (TTL) value affects the time when a DNS record change takes effect. You cannot use custom DNS lines or weighted round-robin.
- FAST_ZONE: Accelerated zone (recommended). DNS queries are directly responded to with the lowest latency. DNS record changes take effect in real time. You can use custom DNS lines and weighted round-robin. Default value: NORMAL_ZONE.
The built-in authoritative accelerated zone is located before the cache module. DNS responses are not cached. This may increase the number of DNS queries and your costs. Starting from April 30, 2025 (UTC+8), when new users activate Cloud DNS PrivateZone, added zones are set as accelerated zones by default.
IgnoredStackTagKeysOptional
IgnoredStackTagKeys interface{}
- Type: interface{}
Property ignoredStackTagKeys: Stack tag keys to ignore.
ProxyPatternOptional
ProxyPattern interface{}
- Type: interface{}
Property proxyPattern: Specifies whether to enable subdomain recursive proxy.
Valid values:
- ZONE: Disables the feature. If a DNS query for a subdomain that does not exist under the current domain name is received, an NXDOMAIN error is returned.
- RECORD: Enables the feature. If a DNS query for a subdomain that does not exist under the current domain name is received, the query is processed by the forwarding and recursion modules in sequence. The final result is used to respond to the DNS query. Default value: ZONE.
RemarkOptional
Remark interface{}
- Type: interface{}
Property remark: 50 characters at most.
It can only contain numbers, Chinese, English and special characters: "_-,.,。".
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.