sessionAffinity

@JvmName(name = "tohqejphtnbsinfo")
suspend fun sessionAffinity(value: Output<String>)
@JvmName(name = "vshkynswghwtueto")
suspend fun sessionAffinity(value: String?)

Parameters

value

Specifies the type of session affinity the load balancer should use unless specified as none or "" (default). With value cookie, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value ip_cookie behaves the same as cookie except the initial origin selection is stable and based on the client's IP address. Available values: "", none, cookie, ip_cookie. Defaults to none.