GetRulesRuleRuleActionRedirectConfig

data class GetRulesRuleRuleActionRedirectConfig(val host: String, val httpCode: String, val path: String, val port: String, val protocol: String, val query: String)

Constructors

Link copied to clipboard
fun GetRulesRuleRuleActionRedirectConfig(host: String, httpCode: String, path: String, port: String, protocol: String, query: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The host name of the destination to which requests are redirected within ALB. Valid values: The host name must be 3 to 128 characters in length, and can contain letters, digits, hyphens (-), periods (.), asterisks (), and question marks (?). The host name must contain at least one period (.), and cannot start or end with a period (.). The rightmost domain label can contain only letters, asterisks () and question marks (?) and cannot contain digits or hyphens (-). Other domain labels cannot start or end with a hyphen (-). You can include asterisks (*) and question marks (?) anywhere in a domain label. Default value: ${host}. You cannot use this value with other characters at the same time.

Link copied to clipboard

The redirect method. Valid values:301, 302, 303, 307, and 308.

Link copied to clipboard

The path to which requests are to be redirected within ALB. Valid values: The path must be 1 to 128 characters in length, and start with a forward slash (/). The path can contain letters, digits, asterisks (*), question marks (?)and the following special characters: $ - _ . + / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ] ^ , ”. The path is case-sensitive. Default value: ${path}. This value can be used only once. You can use it with a valid string.

Link copied to clipboard

The port of the destination to which requests are redirected. Valid values: 1 to 63335. Default value: ${port}. You cannot use this value together with other characters at the same time.

Link copied to clipboard

The protocol of the requests to be redirected. Valid values: HTTP and HTTPS. Default value: ${protocol}. You cannot use this value together with other characters at the same time. Note HTTPS listeners can redirect only HTTPS requests.

Link copied to clipboard

The query string of the request to be redirected within ALB. The query string must be 1 to 128 characters in length, can contain letters and printable characters. It cannot contain the following special characters: # [ ] { } \ | <&. Default value: ${query}. This value can be used only once. You can use it with a valid string.