RuleProps
Properties for defining a Rule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-rule
Initializer
import { RuleProps } from '@alicloud/ros-cdk-alb'
const ruleProps: RuleProps = { ... }
Properties
Name | Type | Description |
---|---|---|
listenerId |
string | @alicloud/ros-cdk-core.IResolvable |
Property listenerId: The ID of the listener that is configured for the Application Load Balancer (ALB) instance. |
priority |
number | @alicloud/ros-cdk-core.IResolvable |
Property priority: The priority of the forwarding rule. |
ruleActions |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | RuleActionsProperty[] |
Property ruleActions: The actions of the forwarding rule. |
ruleConditions |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | RuleConditionsProperty[] |
Property ruleConditions: The conditions of the forwarding rule. |
ruleName |
string | @alicloud/ros-cdk-core.IResolvable |
Property ruleName: The name of the forwarding rule. |
direction |
string | @alicloud/ros-cdk-core.IResolvable |
Property direction: Rule direction. |
listenerId
Required
public readonly listenerId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property listenerId: The ID of the listener that is configured for the Application Load Balancer (ALB) instance.
priority
Required
public readonly priority: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property priority: The priority of the forwarding rule.
Valid values: 1 to 10000. A lower value specifies a higher priority. Note The priority of each forwarding rule within a listener must be unique.
ruleActions
Required
public readonly ruleActions: IResolvable | IResolvable | RuleActionsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | RuleActionsProperty[]
Property ruleActions: The actions of the forwarding rule.
ruleConditions
Required
public readonly ruleConditions: IResolvable | IResolvable | RuleConditionsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | RuleConditionsProperty[]
Property ruleConditions: The conditions of the forwarding rule.
ruleName
Required
public readonly ruleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ruleName: The name of the forwarding rule.
The name must be 2 to 128 characters in length. It can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
direction
Optional
public readonly direction: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property direction: Rule direction.
Valid values: Request or Response.