lib/elb/right_elb_interface.rb
# Generates a stickiness policy with sticky session lifetimes that follow
# that of an application-generated cookie.
# This policy can only be associated with HTTP listeners.
#
#  elb.create_app_cookie_stickiness_policy('my-load-balancer', 'MyLoadBalancerPolicy', 'MyCookie') #=> true
#
Generates a stickiness policy with sticky session lifetimes that follow
that of an application-generated cookie.
This policy can only be associated with HTTP listeners.


Generates a stickiness policy with sticky session lifetimes that follow that of an application - generated cookie . This policy can only be associated with HTTP listeners .
def create_app_cookie_stickiness_policy(load_balancer_name, policy_name, cookie_name)
      request_hash = { 'LoadBalancerName' => load_balancer_name,
                       'PolicyName'       => policy_name,
                       'CookieName'       => cookie_name }
      link = generate_request("CreateAppCookieStickinessPolicy", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    end
def create_app_cookie_stickiness_policy ( load_balancer_name , policy_name , cookie_name ) request_hash = { 'LoadBalancerName' => load_balancer_name , 'PolicyName' => policy_name , 'CookieName' => cookie_name } link = generate_request ( "CreateAppCookieStickinessPolicy" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) end
Generates a stickiness policy with sticky session lifetimes that follow
that of an application-generated cookie.
Generates a stickiness policy with sticky session lifetimes that follow that of an application - generated cookie .
load_balancer_name
<not_specific>
policy_name
<not_specific>
cookie_name
<not_specific>