Skip to content

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.

rrRequired

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.


statusRequired

status: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property status: Allowed values: [ENABLE, DISABLE].


typeRequired

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.


valueRequired

value: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property value: Record value.


zone_idRequired

zone_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property zoneId: Zone Id.


priorityOptional

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.


ttlOptional

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.