CacheDomainProps
Properties for defining a CacheDomain.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-cachedomain
Initializer
import ros_cdk_dns
ros_cdk_dns.CacheDomainProps(
cache_ttl_max: typing.Union[typing.Union[int, float], IResolvable],
cache_ttl_min: typing.Union[typing.Union[int, float], IResolvable],
domain_name: typing.Union[str, IResolvable],
instance_id: typing.Union[str, IResolvable],
source_dns_server: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SourceDnsServerProperty]]],
source_edns: typing.Union[str, IResolvable],
source_protocol: typing.Union[str, IResolvable],
remark: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
cache_ttl_max | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property cacheTtlMax: The maximum TTL value for cached records. |
cache_ttl_min | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property cacheTtlMin: The minimum TTL value for cached records. |
domain_name | typing.Union[str, ros_cdk_core.IResolvable] | Property domainName: The domain name of the DNS cache domain. |
instance_id | typing.Union[str, ros_cdk_core.IResolvable] | Property instanceId: The instance ID associated with the DNS cache domain. |
source_dns_server | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, SourceDnsServerProperty]]] | Property sourceDnsServer: List of source DNS servers. |
source_edns | typing.Union[str, ros_cdk_core.IResolvable] | Property sourceEdns: Whether EDNS is enabled for the source DNS server. |
source_protocol | typing.Union[str, ros_cdk_core.IResolvable] | Property sourceProtocol: The protocol used for origin fetch. |
remark | typing.Union[str, ros_cdk_core.IResolvable] | Property remark: Remark for the DNS cache domain. |
cache_ttl_maxRequired
cache_ttl_max: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property cacheTtlMax: The maximum TTL value for cached records.
cache_ttl_minRequired
cache_ttl_min: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property cacheTtlMin: The minimum TTL value for cached records.
domain_nameRequired
domain_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property domainName: The domain name of the DNS cache domain.
instance_idRequired
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The instance ID associated with the DNS cache domain.
source_dns_serverRequired
source_dns_server: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SourceDnsServerProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, SourceDnsServerProperty]]]
Property sourceDnsServer: List of source DNS servers.
source_ednsRequired
source_edns: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceEdns: Whether EDNS is enabled for the source DNS server.
source_protocolRequired
source_protocol: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceProtocol: The protocol used for origin fetch.
Valid values: TCP and UDP. The default value is UDP.
remarkOptional
remark: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property remark: Remark for the DNS cache domain.