DomainRecordProps
Properties for defining a DomainRecord.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-domainrecord
Initializer
import ros_cdk_dns
ros_cdk_dns.DomainRecordProps(
domain_name: typing.Union[str, IResolvable],
rr: typing.Union[str, IResolvable],
type: typing.Union[str, IResolvable],
value: typing.Union[str, IResolvable],
line: typing.Union[str, IResolvable] = None,
priority: typing.Union[typing.Union[int, float], IResolvable] = None,
ttl: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
domain_name | typing.Union[str, ros_cdk_core.IResolvable] | Property domainName: Domain name. |
rr | typing.Union[str, ros_cdk_core.IResolvable] | Property rr: The host record. |
type | typing.Union[str, ros_cdk_core.IResolvable] | Property type: Parse record type, see parsing record type format. |
value | typing.Union[str, ros_cdk_core.IResolvable] | Property value: Record value. |
line | typing.Union[str, ros_cdk_core.IResolvable] | Property line: Parse the line, the default is default. |
priority | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property priority: The priority of the MX record. |
ttl | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property ttl: The time to live (TTL) value of the Domain Name System (DNS) record. |
domain_nameRequired
domain_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property domainName: Domain name.
rrRequired
rr: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property rr: The host record.
To resolve example.com, set the host record to "@" instead of leaving it empty.
typeRequired
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property type: Parse record type, see parsing record type format.
valueRequired
value: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property value: Record value.
lineOptional
line: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property line: Parse the line, the default is default.
See parsing line enumeration
priorityOptional
priority: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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
ttl: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property ttl: The time to live (TTL) value of the Domain Name System (DNS) record.
Default value: 600. Unit: seconds.