Rule

class Rule : KotlinCustomResource

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>

Properties

Link copied to clipboard
val direction: Output<String>

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

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

Specifies whether to precheck this request.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val listenerId: Output<String>

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

Link copied to clipboard
val priority: Output<Int>

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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>

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.

Link copied to clipboard
val status: Output<String>

The status of the resource.

Link copied to clipboard
val urn: Output<String>