LB Listener Rule
Conditional routing rule attached to an ALB listener.
Configuration
Section titled “Configuration”| Setting | Type | Required | Default |
|---|---|---|---|
| Priority | Number | Yes | 100 |
| Action Options: Forward, Redirect, Fixed response | Choice | — | forward |
| Path patterns | List | — | — |
| Host headers | List | — | — |
| HTTP methods | List | — | — |
| Source IPs (CIDR) | List | — | — |
| Query string conditions (JSON) | Text | — | — |
| HTTP header conditions (JSON) | Text | — | — |
| Forward weight | Number | — | 1 |
| Stickiness enabled | Toggle | — | false |
| Stickiness duration (s) | Number | — | — |
| Tags | Key–value | — | — |
Connections
Section titled “Connections”| Socket | Direction | Accepts | Terraform arg |
|---|---|---|---|
| Listener | Input | aws.lb-listener | listener_arn |
| Target group | Output | aws.target-group | action.target_group_arn |