lib/elb/right_elb_interface.rb
# Generates a stickiness policy with sticky session lifetimes controlled by the
# lifetime of the browser (user-agent) or a specified expiration period.
# This policy can only be associated only with HTTP listeners.
#
#  elb.create_lb_cookie_stickiness_policy('my-load-balancer', 'MyLoadBalancerPolicy', 60) #=> true
#
Generates a stickiness policy with sticky session lifetimes controlled by the
lifetime of the browser (user-agent) or a specified expiration period.
This policy can only be associated only with HTTP listeners.


Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser ( user - agent ) or a specified expiration period . This policy can only be associated only with HTTP listeners .
def create_lb_cookie_stickiness_policy(load_balancer_name, policy_name, cookie_expiration_period)
      request_hash = { 'LoadBalancerName'        => load_balancer_name,
                       'PolicyName'              => policy_name,
                       'CookieExpirationPeriod'  => cookie_expiration_period }
      link = generate_request("CreateLBCookieStickinessPolicy", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    end
def create_lb_cookie_stickiness_policy ( load_balancer_name , policy_name , cookie_expiration_period ) request_hash = { 'LoadBalancerName' => load_balancer_name , 'PolicyName' => policy_name , 'CookieExpirationPeriod' => cookie_expiration_period } link = generate_request ( "CreateLBCookieStickinessPolicy" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) end
Generates a stickiness policy with sticky session lifetimes controlled by the
lifetime of the browser (user-agent) or a specified expiration period.
Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser ( user - agent ) or a specified expiration period .
load_balancer_name
<not_specific>
policy_name
<not_specific>
cookie_expiration_period
<not_specific>