Skip to content

DomainRecordProps

Properties for defining a DomainRecord.

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

Initializer

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

Properties

Name Type Description
domainName string | @alicloud/ros-cdk-core.IResolvable Property domainName: Domain name.
rr string | @alicloud/ros-cdk-core.IResolvable Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.
type string | @alicloud/ros-cdk-core.IResolvable Property type: Parse record type, see parsing record type format.
value string | @alicloud/ros-cdk-core.IResolvable Property value: Record value.
line string | @alicloud/ros-cdk-core.IResolvable Property line: Parse the line, the default is default.
priority number | @alicloud/ros-cdk-core.IResolvable Property priority: The priority of the MX record, the value range [1,10], when the record type is MX record, this parameter must be.
ttl number | @alicloud/ros-cdk-core.IResolvable Property ttl: The resolution time is valid.

domainNameRequired

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

Property domainName: Domain name.


rrRequired

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

Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.


typeRequired

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

Property type: Parse record type, see parsing record type format.


valueRequired

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

Property value: Record value.


lineOptional

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

Property line: Parse the line, the default is default.

See parsing line enumeration


priorityOptional

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

Property priority: The priority of the MX record, the value range [1,10], when the record type is MX record, this parameter must be.


ttlOptional

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

Property ttl: The resolution time is valid.

The default is 600 seconds (10 minutes). See the TTL definition.