Show / Hide Table of Contents

Class BaseNetworkListenerProps

Basic properties for a Network Listener.

Inheritance
System.Object
BaseNetworkListenerProps
Implements
IBaseNetworkListenerProps
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class BaseNetworkListenerProps : Object, IBaseNetworkListenerProps
Syntax (vb)
Public Class BaseNetworkListenerProps
    Inherits Object
    Implements IBaseNetworkListenerProps

Synopsis

Constructors

BaseNetworkListenerProps()

Properties

Certificates

Certificate list of ACM cert ARNs.

DefaultAction

Default action to take for requests to this listener.

DefaultTargetGroups

Default target groups to load balance to.

Port

The port on which the listener listens for requests.

Protocol

Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP.

SslPolicy

SSL Policy.

Constructors

BaseNetworkListenerProps()

public BaseNetworkListenerProps()

Properties

Certificates

Certificate list of ACM cert ARNs.

public IListenerCertificate[] Certificates { get; set; }
Property Value

IListenerCertificate[]

Remarks

Default: - No certificates.

DefaultAction

Default action to take for requests to this listener.

public NetworkListenerAction DefaultAction { get; set; }
Property Value

NetworkListenerAction

Remarks

This allows full control of the default Action of the load balancer, including weighted forwarding. See the NetworkListenerAction class for all options.

Cannot be specified together with defaultTargetGroups.

Default: - None.

DefaultTargetGroups

Default target groups to load balance to.

public INetworkTargetGroup[] DefaultTargetGroups { get; set; }
Property Value

INetworkTargetGroup[]

Remarks

All target groups will be load balanced to with equal weight and without stickiness. For a more complex configuration than that, use either defaultAction or addAction().

Cannot be specified together with defaultAction.

Default: - None.

Port

The port on which the listener listens for requests.

public double Port { get; set; }
Property Value

System.Double

Protocol

Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP.

public Nullable<Protocol> Protocol { get; set; }
Property Value

System.Nullable<Protocol>

Remarks

Default: - TLS if certificates are provided. TCP otherwise.

SslPolicy

SSL Policy.

public Nullable<SslPolicy> SslPolicy { get; set; }
Property Value

System.Nullable<SslPolicy>

Remarks

Default: - Current predefined security policy.

Implements

IBaseNetworkListenerProps
Back to top Generated by DocFX