Skip to content

RuleProps

Properties for defining a Rule.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkalb"
&alicloudroscdkalb.RuleProps {
    ListenerId: interface{},
    Priority: interface{},
    RuleActions: interface{},
    RuleConditions: interface{},
    RuleName: interface{},
    Direction: interface{},
}

Properties

Name Type Description
ListenerId interface{} Property listenerId: The ID of the listener that is configured for the Application Load Balancer (ALB) instance.
Priority interface{} Property priority: The priority of the forwarding rule.
RuleActions interface{} Property ruleActions: The actions of the forwarding rule.
RuleConditions interface{} Property ruleConditions: The conditions of the forwarding rule.
RuleName interface{} Property ruleName: The name of the forwarding rule.
Direction interface{} Property direction: Rule direction.

ListenerIdRequired

ListenerId interface{}
  • Type: interface{}

Property listenerId: The ID of the listener that is configured for the Application Load Balancer (ALB) instance.


PriorityRequired

Priority interface{}
  • Type: interface{}

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.


RuleActionsRequired

RuleActions interface{}
  • Type: interface{}

Property ruleActions: The actions of the forwarding rule.


RuleConditionsRequired

RuleConditions interface{}
  • Type: interface{}

Property ruleConditions: The conditions of the forwarding rule.


RuleNameRequired

RuleName interface{}
  • Type: interface{}

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.


DirectionOptional

Direction interface{}
  • Type: interface{}

Property direction: Rule direction.

Valid values: Request or Response.