Class: Aws::ElasticLoadBalancing::Types::CreateLBCookieStickinessPolicyInput

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

Overview

Contains the parameters for CreateLBCookieStickinessPolicy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.

Returns:

  • (Integer)


479
480
481
482
483
484
485
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 479

class CreateLBCookieStickinessPolicyInput < Struct.new(
  :load_balancer_name,
  :policy_name,
  :cookie_expiration_period)
  SENSITIVE = []
  include Aws::Structure
end

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


479
480
481
482
483
484
485
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 479

class CreateLBCookieStickinessPolicyInput < Struct.new(
  :load_balancer_name,
  :policy_name,
  :cookie_expiration_period)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.

Returns:

  • (String)


479
480
481
482
483
484
485
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 479

class CreateLBCookieStickinessPolicyInput < Struct.new(
  :load_balancer_name,
  :policy_name,
  :cookie_expiration_period)
  SENSITIVE = []
  include Aws::Structure
end