The Listener data type.

Namespace: Amazon.ElasticLoadBalancing.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class Listener
Public Class Listener
public ref class Listener

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Listener()()()()
Default constructor for a new Listener object. Callers should use the properties or fluent setter (With...) methods to initialize this object after creating it.
Listener(String, Int32, Int32)
Constructs a new Listener object. Callers should use the properties or fluent setter (With...) methods to initialize any additional object members.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InstancePort
Specifies the TCP port on which the instance server is listening. This property cannot be modified for the life of the LoadBalancer.

Constraints:

Range
1 - 65535

InstanceProtocol
Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. This property cannot be modified for the life of the LoadBalancer.
Note:
If the front-end protocol is HTTP or HTTPS, InstanceProtocol has to be at the same protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL.
Note:
If there is another listener with the same InstancePort whose InstanceProtocol is secure, i.e., HTTPS or SSL, the listener's InstanceProtocol has to be secure, i.e., HTTPS or SSL. If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be either HTTP or TCP.
LoadBalancerPort
Specifies the external LoadBalancer port number. This property cannot be modified for the life of the LoadBalancer.
Protocol
Specifies the LoadBalancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. This property cannot be modified for the life of the LoadBalancer.
SSLCertificateId
The ARN string of the server certificate. To get the ARN of the server certificate, call the AWS Identity and Access Management UploadServerCertificate API.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithInstancePort(Int32)
Sets the InstancePort property
WithInstanceProtocol(String)
Sets the InstanceProtocol property
WithLoadBalancerPort(Int32)
Sets the LoadBalancerPort property
WithProtocol(String)
Sets the Protocol property
WithSSLCertificateId(String)
Sets the SSLCertificateId property

Inheritance Hierarchy

System..::..Object
  Amazon.ElasticLoadBalancing.Model..::..Listener

See Also