Skip to content

CacheDomainProps

Properties for defining a CacheDomain.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-cachedomain

Initializer

import { CacheDomainProps } from '@alicloud/ros-cdk-dns'
const cacheDomainProps: CacheDomainProps = { ... }

Properties

Name Type Description
cacheTtlMax number | @alicloud/ros-cdk-core.IResolvable Property cacheTtlMax: The maximum TTL value for cached records.
cacheTtlMin number | @alicloud/ros-cdk-core.IResolvable Property cacheTtlMin: The minimum TTL value for cached records.
domainName string | @alicloud/ros-cdk-core.IResolvable Property domainName: The domain name of the DNS cache domain.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The instance ID associated with the DNS cache domain.
sourceDnsServer @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SourceDnsServerProperty[] Property sourceDnsServer: List of source DNS servers.
sourceEdns string | @alicloud/ros-cdk-core.IResolvable Property sourceEdns: Whether EDNS is enabled for the source DNS server.
sourceProtocol string | @alicloud/ros-cdk-core.IResolvable Property sourceProtocol: The protocol used for origin fetch.
remark string | @alicloud/ros-cdk-core.IResolvable Property remark: Remark for the DNS cache domain.

cacheTtlMaxRequired

public readonly cacheTtlMax: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property cacheTtlMax: The maximum TTL value for cached records.


cacheTtlMinRequired

public readonly cacheTtlMin: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property cacheTtlMin: The minimum TTL value for cached records.


domainNameRequired

public readonly domainName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property domainName: The domain name of the DNS cache domain.


instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: The instance ID associated with the DNS cache domain.


sourceDnsServerRequired

public readonly sourceDnsServer: IResolvable | IResolvable | SourceDnsServerProperty[];

Property sourceDnsServer: List of source DNS servers.


sourceEdnsRequired

public readonly sourceEdns: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourceEdns: Whether EDNS is enabled for the source DNS server.


sourceProtocolRequired

public readonly sourceProtocol: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourceProtocol: The protocol used for origin fetch.

Valid values: TCP and UDP. The default value is UDP.


remarkOptional

public readonly remark: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property remark: Remark for the DNS cache domain.