Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data SessionStickinessConfig Source #
Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.
See: newSessionStickinessConfig
smart constructor.
SessionStickinessConfig' | |
|
Instances
newSessionStickinessConfig Source #
:: Int | |
-> Int | |
-> SessionStickinessConfig |
Create a value of SessionStickinessConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:idleTTL:SessionStickinessConfig'
, sessionStickinessConfig_idleTTL
- The amount of time after which you want sessions to cease if no requests
are received. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to MaximumTTL
.
$sel:maximumTTL:SessionStickinessConfig'
, sessionStickinessConfig_maximumTTL
- The maximum amount of time to consider requests from the viewer as being
part of the same session. Allowed values are 300–3600 seconds (5–60
minutes).
The value must be less than or equal to IdleTTL
.
sessionStickinessConfig_idleTTL :: Lens' SessionStickinessConfig Int Source #
The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to MaximumTTL
.
sessionStickinessConfig_maximumTTL :: Lens' SessionStickinessConfig Int Source #
The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).
The value must be less than or equal to IdleTTL
.