Skip to content

ZoneProps

Properties for defining a Zone.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-zone

Initializer

import ros_cdk_pvtz
ros_cdk_pvtz.ZoneProps(
  zone_name: typing.Union[str, IResolvable],
  dns_group: typing.Union[str, IResolvable] = None,
  ignored_stack_tag_keys: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  proxy_pattern: typing.Union[str, IResolvable] = None,
  remark: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
zone_name typing.Union[str, ros_cdk_core.IResolvable] Property zoneName: Zone name.
dns_group typing.Union[str, ros_cdk_core.IResolvable] Property dnsGroup: Built-in authority location area.
ignored_stack_tag_keys typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property ignoredStackTagKeys: Stack tag keys to ignore.
proxy_pattern typing.Union[str, ros_cdk_core.IResolvable] Property proxyPattern: ZONE: completely hijack the entire zone.
remark typing.Union[str, ros_cdk_core.IResolvable] Property remark: 50 characters at most.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group id.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

zone_nameRequired

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

Property zoneName: Zone name.


dns_groupOptional

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

Property dnsGroup: Built-in authority location area.

Valid values:

  • NORMAL_ZONE: Default. normal zone (The parsing response result will be cached, and only back to the built-in authority normal zone if the cache is missed, the effect of parsing changes is affected by TTL time; Cannot use custom line analysis, weight analysis function.
  • FAST_ZONE: Fast zone (Recommended: directly reply to the parsing request, the parsing delay is the lowest, and the record changes take effect in real time; Support custom line analysis, weight analysis.

ignored_stack_tag_keysOptional

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

Property ignoredStackTagKeys: Stack tag keys to ignore.


proxy_patternOptional

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

Property proxyPattern: ZONE: completely hijack the entire zone.

RECORD: Incomplete hijacking, recursive resolution agent. Default to ZONE.


remarkOptional

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

Property remark: 50 characters at most.

It can only contain numbers, Chinese, English and special characters: "_-,.,。".


resource_group_idOptional

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

Property resourceGroupId: Resource group id.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.