ServerGroupStickySessionConfigArgs

data class ServerGroupStickySessionConfigArgs(val cookie: Output<String>? = null, val cookieTimeout: Output<Int>? = null, val stickySessionEnabled: Output<Boolean>? = null, val stickySessionType: Output<String>? = null) : ConvertibleToJava<ServerGroupStickySessionConfigArgs>

Constructors

Link copied to clipboard
constructor(cookie: Output<String>? = null, cookieTimeout: Output<Int>? = null, stickySessionEnabled: Output<Boolean>? = null, stickySessionType: Output<String>? = null)

Properties

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

The cookie to be configured on the server. NOTE: This parameter takes effect when the sticky_session_enabled parameter is set to true and the sticky_session_type parameter is set to Server.

Link copied to clipboard
val cookieTimeout: Output<Int>? = null

The timeout period of a cookie. Unit: seconds. Default value: 1000. Valid values: 1 to 86400. NOTE: This parameter takes effect when the sticky_session_enabled parameter is set to true and the sticky_session_type parameter is set to Insert.

Link copied to clipboard
val stickySessionEnabled: Output<Boolean>? = null

Specifies whether to enable session persistence. Default value: false. Valid values: true, false. NOTE: This parameter takes effect when the server_group_type parameter is set to Instance or Ip.

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

The method that is used to handle a cookie. Valid values: Server, Insert.

Functions

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