RuleProps
Properties for defining a Rule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-slb-rule
Initializer
import { RuleProps } from '@alicloud/ros-cdk-slb'
const ruleProps: RuleProps = { ... }
Properties
Name | Type | Description |
---|---|---|
listenerPort |
number | @alicloud/ros-cdk-core.IResolvable |
Property listenerPort: The front-end HTTPS listener port of the Server Load Balancer instance. |
loadBalancerId |
string | @alicloud/ros-cdk-core.IResolvable |
Property loadBalancerId: The ID of Server Load Balancer instance. |
ruleList |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | RuleListProperty[] |
Property ruleList: The forwarding rules to add. |
listenerProtocol |
string | @alicloud/ros-cdk-core.IResolvable |
Property listenerProtocol: The frontend protocol that is used by the SLB instance. |
listenerPort
Required
public readonly listenerPort: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property listenerPort: The front-end HTTPS listener port of the Server Load Balancer instance.
Valid value: 1-65535
loadBalancerId
Required
public readonly loadBalancerId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property loadBalancerId: The ID of Server Load Balancer instance.
ruleList
Required
public readonly ruleList: IResolvable | IResolvable | RuleListProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | RuleListProperty[]
Property ruleList: The forwarding rules to add.
listenerProtocol
Optional
public readonly listenerProtocol: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property listenerProtocol: The frontend protocol that is used by the SLB instance.