RuleProps
Properties for defining a Rule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-rule
Initializer
import { RuleProps } from '@alicloud/ros-cdk-pvtz'
const ruleProps: RuleProps = { ... }
Properties
Name | Type | Description |
---|---|---|
endpointId |
string | @alicloud/ros-cdk-core.IResolvable |
Property endpointId: The ID of the endpoint. |
forwardIp |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ForwardIpProperty[] |
Property forwardIp: The destination external server. |
ruleName |
string | @alicloud/ros-cdk-core.IResolvable |
Property ruleName: The name of the forwarding rule. |
type |
string | @alicloud/ros-cdk-core.IResolvable |
Property type: The type of the forwarding rule. |
zoneName |
string | @alicloud/ros-cdk-core.IResolvable |
Property zoneName: The domain name that requires DNS traffic forwarding. |
endpointId
Required
public readonly endpointId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property endpointId: The ID of the endpoint.
forwardIp
Required
public readonly forwardIp: IResolvable | IResolvable | ForwardIpProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ForwardIpProperty[]
Property forwardIp: The destination external server.
ruleName
Required
public readonly ruleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ruleName: The name of the forwarding rule.
type
Required
public readonly type: string | IResolvable;
- Type: string | @alicloud/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.
zoneName
Required
public readonly zoneName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneName: The domain name that requires DNS traffic forwarding.