Interface INetworkListenerLookupOptions
Options for looking up a network listener.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INetworkListenerLookupOptions : IBaseListenerLookupOptions
Syntax (vb)
Public Interface INetworkListenerLookupOptions
Inherits IBaseListenerLookupOptions
Remarks
ExampleMetadata: infused
Examples
var listener = NetworkListener.FromLookup(this, "ALBListener", new NetworkListenerLookupOptions {
LoadBalancerTags = new Dictionary<string, string> {
{ "Cluster", "MyClusterName" }
},
ListenerProtocol = Protocol.TCP,
ListenerPort = 12345
});
Synopsis
Properties
ListenerProtocol | Protocol of the listener port. |
Properties
ListenerProtocol
Protocol of the listener port.
virtual Nullable<Protocol> ListenerProtocol { get; }
Property Value
System.Nullable<Protocol>
Remarks
Default: - listener is not filtered by protocol