RuleArgs

data class RuleArgs(val direction: Output<String>? = null, val dryRun: Output<Boolean>? = null, val listenerId: Output<String>? = null, val priority: Output<Int>? = null, val ruleActions: Output<List<RuleRuleActionArgs>>? = null, val ruleConditions: Output<List<RuleRuleConditionArgs>>? = null, val ruleName: Output<String>? = null) : ConvertibleToJava<RuleArgs>

Provides a Application Load Balancer (ALB) Rule resource. For information about Application Load Balancer (ALB) Rule and how to use it, see What is Rule.

NOTE: Available since v1.133.0. NOTE: This version only supports forwarding rules in the request direction.

Import

Application Load Balancer (ALB) Rule can be imported using the id, e.g.

$ pulumi import alicloud:alb/rule:Rule example <id>

Constructors

Link copied to clipboard
constructor(direction: Output<String>? = null, dryRun: Output<Boolean>? = null, listenerId: Output<String>? = null, priority: Output<Int>? = null, ruleActions: Output<List<RuleRuleActionArgs>>? = null, ruleConditions: Output<List<RuleRuleConditionArgs>>? = null, ruleName: Output<String>? = null)

Properties

Link copied to clipboard
val direction: Output<String>? = null

The direction to which the forwarding rule is applied. Default value: Request. Valid values:

Link copied to clipboard
val dryRun: Output<Boolean>? = null

Specifies whether to precheck this request.

Link copied to clipboard
val listenerId: Output<String>? = null

The ID of the listener to which the forwarding rule belongs.

Link copied to clipboard
val priority: Output<Int>? = null

The priority of the rule. Valid values: 1 to 10000. A smaller value indicates a higher priority. Note: The priority of each rule within the same listener must be unique.

Link copied to clipboard
val ruleActions: Output<List<RuleRuleActionArgs>>? = null

The actions of the forwarding rules. See rule_actions below.

Link copied to clipboard

The conditions of the forwarding rule. See rule_conditions below.

Link copied to clipboard
val ruleName: Output<String>? = null

The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.

Functions

Link copied to clipboard
open override fun toJava(): RuleArgs