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: The host record. |
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. |
ttl | number | @alicloud/ros-cdk-core.IResolvable | Property ttl: The time to live (TTL) value of the Domain Name System (DNS) record. |
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: The host record.
To resolve example.com, set the host record to "@" instead of leaving it 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.
Valid values: [1,50]. This parameter is required if the record type is MX. A smaller value indicates a higher priority.
ttlOptional
public readonly ttl: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property ttl: The time to live (TTL) value of the Domain Name System (DNS) record.
Default value: 600. Unit: seconds.