ZoneRecordProps
Properties for defining a ZoneRecord
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-zonerecord
Initializer
import ros_cdk_pvtz
ros_cdk_pvtz.ZoneRecordProps(
rr: typing.Union[str, IResolvable],
status: typing.Union[str, IResolvable],
type: typing.Union[str, IResolvable],
value: typing.Union[str, IResolvable],
zone_id: typing.Union[str, IResolvable],
priority: typing.Union[typing.Union[int, float], IResolvable] = None,
ttl: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
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. |
status |
typing.Union[str, ros_cdk_core.IResolvable] |
Property status: Allowed values: [ENABLE, DISABLE]. |
type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property type: Analyze record type, currently only supports A, AAAA, CNAME, TXT, MX, PTR, SRV. |
value |
typing.Union[str, ros_cdk_core.IResolvable] |
Property value: Record value. |
zone_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property zoneId: Zone Id. |
priority |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property priority: MX record priority, value range [1,99]. |
ttl |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property ttl: Survival time, default is 60. |
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.
status
Required
status: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property status: Allowed values: [ENABLE, DISABLE].
type
Required
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property type: Analyze record type, currently only supports A, AAAA, CNAME, TXT, MX, PTR, SRV.
value
Required
value: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property value: Record value.
zone_id
Required
zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property zoneId: Zone Id.
priority
Optional
priority: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property priority: MX record priority, value range [1,99].
Default to 10.
ttl
Optional
ttl: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property ttl: Survival time, default is 60.