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: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty. |
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, the value range [1,10], when the record type is MX record, this parameter must be. |
ttl |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property ttl: The resolution time is valid. |
domain_name
Required
domain_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property domainName: Domain name.
rr
Required
rr: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
Required
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property type: Parse record type, see parsing record type format.
value
Required
value: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property value: Record value.
line
Optional
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
priority
Optional
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, the value range [1,10], when the record type is MX record, this parameter must be.
ttl
Optional
ttl: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property ttl: The resolution time is valid.
The default is 600 seconds (10 minutes). See the TTL definition.