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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateLBCookieStickinessPolicyInput as input to an Aws::Client method, you can use a vanilla 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)

    The time period, in seconds, after which the cookie should be considered stale.

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)

    The name of the load balancer.

#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)

    The name of the policy being created.