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

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

Overview

Note:

When making an API call, you may pass CreateLBCookieStickinessPolicyInput data as a hash:

{
  load_balancer_name: "AccessPointName", # required
  policy_name: "PolicyName", # required
  cookie_expiration_period: 1,
}

Contains the parameters for CreateLBCookieStickinessPolicy.

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)


563
564
565
566
567
568
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 563

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

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


563
564
565
566
567
568
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 563

class CreateLBCookieStickinessPolicyInput < Struct.new(
  :load_balancer_name,
  :policy_name,
  :cookie_expiration_period)
  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)


563
564
565
566
567
568
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 563

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