Class: Aws::ElasticLoadBalancing::Types::CreateLBCookieStickinessPolicyInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancing::Types::CreateLBCookieStickinessPolicyInput
- 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
-
#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.
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_name ⇒ String
The name of the load balancer.
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_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.
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 |