AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listener Configurations for Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
Namespace: Amazon.ElasticLoadBalancing.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class Listener : Object
The Listener type exposes the following members
Name | Description | |
---|---|---|
Listener() | Empty constructor used to set properties independently even when a simple constructor is available | |
Listener(string, int, int) | Instantiates Listener with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
InstancePort | System.Int32 |
Gets and sets the property InstancePort.
The port on which the instance is listening. |
|
InstanceProtocol | System.String |
Gets and sets the property InstanceProtocol.
The protocol to use for routing traffic to back-end instances: HTTP, HTTPS, TCP, or SSL.
If the front-end protocol is HTTP, HTTPS, TCP, or SSL,
If there is another listener with the same
If there is another listener with the same |
|
LoadBalancerPort | System.Int32 |
Gets and sets the property LoadBalancerPort.
The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535. |
|
Protocol | System.String |
Gets and sets the property Protocol.
The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL. |
|
SSLCertificateId | System.String |
Gets and sets the property SSLCertificateId.
The Amazon Resource Name (ARN) of the server certificate. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8