ALBHTTPRequestRule (schema)

HTTPRequestRule

Advanced load balancer HTTPRequestRule object
Name Description Type Notes
all_headers All headers

Log all HTTP headers upon rule match.
boolean
enable Enable

Enable or disable the rule.
Default value when not specified in API or module is
interpreted by ALB Controller as true.
boolean Required
Default: "True"
hdr_action Hdr action

HTTP header rewrite action.
array of ALBHTTPHdrAction
index Index

Index of the rule.
integer Required
log Log

Log HTTP request upon rule match.
boolean
match Match

Add match criteria to the rule.
ALBMatchTarget
name Name

Name of the rule.
string Required
redirect_action Redirect action

HTTP redirect action.
ALBHTTPRedirectAction
rewrite_url_action Rewrite url action

HTTP request URL rewrite action.
ALBHTTPRewriteURLAction
switching_action Switching action

Content switching action.
ALBHTTPSwitchingAction