LoadBalancerStickySessionsArgs

data class LoadBalancerStickySessionsArgs(val cookieName: Output<String>? = null, val cookieTtlSeconds: Output<Int>? = null, val type: Output<String>? = null) : ConvertibleToJava<LoadBalancerStickySessionsArgs>

Constructors

Link copied to clipboard
constructor(cookieName: Output<String>? = null, cookieTtlSeconds: Output<Int>? = null, type: Output<String>? = null)

Properties

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

The name to be used for the cookie sent to the client. This attribute is required when using cookies for the sticky sessions type.

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

The number of seconds until the cookie set by the Load Balancer expires. This attribute is required when using cookies for the sticky sessions type.

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

An attribute indicating how and if requests from a client will be persistently served by the same backend Droplet. The possible values are cookies or none. If not specified, the default value is none.

Functions

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