AWS SDK Version 3 for .NET
API Reference

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.

Information about a listener.

Inheritance Hierarchy

System.Object
  Amazon.ElasticLoadBalancingV2.Model.Listener

Namespace: Amazon.ElasticLoadBalancingV2.Model
Assembly: AWSSDK.ElasticLoadBalancingV2.dll
Version: 3.x.y.z

Syntax

C#
public class Listener

The Listener type exposes the following members

Constructors

NameDescription
Public Method Listener()

Properties

NameTypeDescription
Public Property AlpnPolicy System.Collections.Generic.List<System.String>

Gets and sets the property AlpnPolicy.

[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

Public Property Certificates System.Collections.Generic.List<Amazon.ElasticLoadBalancingV2.Model.Certificate>

Gets and sets the property Certificates.

[HTTPS or TLS listener] The default certificate for the listener.

Public Property DefaultActions System.Collections.Generic.List<Amazon.ElasticLoadBalancingV2.Model.Action>

Gets and sets the property DefaultActions.

The default actions for the listener.

Public Property ListenerArn System.String

Gets and sets the property ListenerArn.

The Amazon Resource Name (ARN) of the listener.

Public Property LoadBalancerArn System.String

Gets and sets the property LoadBalancerArn.

The Amazon Resource Name (ARN) of the load balancer.

Public Property MutualAuthentication Amazon.ElasticLoadBalancingV2.Model.MutualAuthenticationAttributes

Gets and sets the property MutualAuthentication.

The mutual authentication configuration information.

Public Property Port System.Int32

Gets and sets the property Port.

The port on which the load balancer is listening.

Public Property Protocol Amazon.ElasticLoadBalancingV2.ProtocolEnum

Gets and sets the property Protocol.

The protocol for connections from clients to the load balancer.

Public Property SslPolicy System.String

Gets and sets the property SslPolicy.

[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5