lib/elb/right_elb_interface.rb
# Creates one or more new listeners on a LoadBalancer for the specified port. If a listener with the given
# port does not already exist, it will be created; otherwise, the properties of the new listener must match
# the the properties of the existing listener.
#
# Listener options: :protocol, :load_balancer_port, :instance_port and :ssl_certificate_id
# Protocols: :tcp, :http, :https or :ssl
#
#  elb.create_load_balancer_listeners( 'test-kd1',
#                                      [ { :protocol => :http,  :load_balancer_port => 80,  :instance_port => 80 },
#                                        { :protocol => :https, :load_balancer_port => 443, :instance_port => 443,
#                                          :ssl_certificate_id => 'arn:aws:iam::123456789012:user/division_abc/subdivision_xyz/Bob' } ]) #=> true
#
Creates one or more new listeners on a LoadBalancer for the specified port. If a listener with the given
port does not already exist, it will be created; otherwise, the properties of the new listener must match
the the properties of the existing listener.




Creates one or more new listeners on a LoadBalancer for the specified port . If a listener with the given port does not already exist it will be created ; otherwise the properties of the new listener must match the the properties of the existing listener .
def create_load_balancer_listeners(load_balancer_name, listeners)
      request_hash = { 'LoadBalancerName' => load_balancer_name }
      request_hash = merge_listeners_into_request_hash(request_hash, listeners)
      link = generate_request("CreateLoadBalancerListeners", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    end
def create_load_balancer_listeners ( load_balancer_name , listeners ) request_hash = { 'LoadBalancerName' => load_balancer_name } request_hash = merge_listeners_into_request_hash ( request_hash , listeners ) link = generate_request ( "CreateLoadBalancerListeners" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) end
Creates one or more new listeners on a LoadBalancer for the specified port.
Creates one or more new listeners on a LoadBalancer for the specified port .
load_balancer_name
<not_specific>
listeners
<not_specific>