RuleRuleActionRedirectConfigArgs

data class RuleRuleActionRedirectConfigArgs(val host: Output<String>? = null, val httpCode: Output<String>? = null, val path: Output<String>? = null, val port: Output<String>? = null, val protocol: Output<String>? = null, val query: Output<String>? = null) : ConvertibleToJava<RuleRuleActionRedirectConfigArgs>

Constructors

Link copied to clipboard
constructor(host: Output<String>? = null, httpCode: Output<String>? = null, path: Output<String>? = null, port: Output<String>? = null, protocol: Output<String>? = null, query: Output<String>? = null)

Properties

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

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
val httpCode: Output<String>? = null

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

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

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
val port: Output<String>? = null

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
val protocol: Output<String>? = null

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
val query: Output<String>? = null

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.

Functions

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