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
- Struct
- Aws::ElasticLoadBalancing::Types::CreateLBCookieStickinessPolicyInput
- Defined in:
- (unknown)
Overview
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
-
#cookie_expiration_period ⇒ Integer
The time period, in seconds, after which the cookie should be considered stale.
-
#load_balancer_name ⇒ String
The name of the load balancer.
-
#policy_name ⇒ String
The name of the policy being created.
Instance Attribute Details
#cookie_expiration_period ⇒ Integer
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.
#load_balancer_name ⇒ String
The name of the load balancer.
#policy_name ⇒ String
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.