You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticLoadBalancing::Types::LBCookieStickinessPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb

Overview

Information about a policy for duration-based session stickiness.

Instance Attribute Summary collapse

Instance Attribute Details

The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.

Returns:

  • (Integer)


1302
1303
1304
1305
1306
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 1302

class LBCookieStickinessPolicy < Struct.new(
  :policy_name,
  :cookie_expiration_period)
  include Aws::Structure
end

#policy_nameString

The name of the policy. This name must be unique within the set of policies for this load balancer.

Returns:

  • (String)


1302
1303
1304
1305
1306
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 1302

class LBCookieStickinessPolicy < Struct.new(
  :policy_name,
  :cookie_expiration_period)
  include Aws::Structure
end