Skip to content

RuleProps

Properties for defining a Rule.

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

Initializer

import ros_cdk_pvtz
ros_cdk_pvtz.RuleProps(
  endpoint_id: typing.Union[str, IResolvable],
  forward_ip: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ForwardIpProperty]]],
  rule_name: typing.Union[str, IResolvable],
  type: typing.Union[str, IResolvable],
  zone_name: typing.Union[str, IResolvable]
)

Properties

Name Type Description
endpoint_id typing.Union[str, ros_cdk_core.IResolvable] Property endpointId: The ID of the endpoint.
forward_ip typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ForwardIpProperty]]] Property forwardIp: The destination external server.
rule_name typing.Union[str, ros_cdk_core.IResolvable] Property ruleName: The name of the forwarding rule.
type typing.Union[str, ros_cdk_core.IResolvable] Property type: The type of the forwarding rule.
zone_name typing.Union[str, ros_cdk_core.IResolvable] Property zoneName: The domain name that requires DNS traffic forwarding.

endpoint_idRequired

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

Property endpointId: The ID of the endpoint.


forward_ipRequired

forward_ip: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ForwardIpProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ForwardIpProperty]]]

Property forwardIp: The destination external server.


rule_nameRequired

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

Property ruleName: The name of the forwarding rule.


typeRequired

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

Property type: The type of the forwarding rule.

Valid value: OUTBOUND: forwards Domain Name System (DNS) traffic to one or more external IP addresses.


zone_nameRequired

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

Property zoneName: The domain name that requires DNS traffic forwarding.