AWS SDK for .NET Documentation
CreateLoadBalancerListeners Method (createLoadBalancerListenersRequest)
Amazon ► Amazon.ElasticLoadBalancing ► AmazonElasticLoadBalancingClient ► CreateLoadBalancerListeners(CreateLoadBalancerListenersRequest)
Did this page help you? Yes No Tell us about it...

Creates one or more listeners on a load balancer 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 properties of the existing listener.

For more information, see Add a Listener to Your Load Balancer in the Elastic Load Balancing Developer Guide .

Declaration Syntax

C#

    public CreateLoadBalancerListenersResponse CreateLoadBalancerListeners(
    	CreateLoadBalancerListenersRequest createLoadBalancerListenersRequest
    )

Parameters

createLoadBalancerListenersRequest (CreateLoadBalancerListenersRequest)
  Container for the necessary parameters to execute the CreateLoadBalancerListeners service method on AmazonElasticLoadBalancing.

Return Value
The response from the CreateLoadBalancerListeners service method, as returned by AmazonElasticLoadBalancing.
Exceptions

Exception | Condition
--- | ---
InvalidConfigurationRequestException |
DuplicateListenerException |
CertificateNotFoundException |
LoadBalancerNotFoundException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)