Class: Aws::CloudFront::Types::SessionStickinessConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::SessionStickinessConfig
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#idle_ttl ⇒ Integer
The amount of time after which you want sessions to cease if no requests are received.
-
#maximum_ttl ⇒ Integer
The maximum amount of time to consider requests from the viewer as being part of the same session.
Instance Attribute Details
#idle_ttl ⇒ Integer
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
.
11287 11288 11289 11290 11291 11292 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11287 class SessionStickinessConfig < Struct.new( :idle_ttl, :maximum_ttl) SENSITIVE = [] include Aws::Structure end |
#maximum_ttl ⇒ Integer
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 greater than or equal to IdleTTL
.
11287 11288 11289 11290 11291 11292 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 11287 class SessionStickinessConfig < Struct.new( :idle_ttl, :maximum_ttl) SENSITIVE = [] include Aws::Structure end |