Class BaseListener
Base class for listeners.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class BaseListener : Resource, IListener, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public MustInherit Class BaseListener Inherits Resource Implements IListener, IResource, IConstruct, IDependable, IEnvironmentAware
Synopsis
Constructors
| BaseListener(Construct, string, object) | Base class for listeners. |
Properties
| ListenerArn | ARN of the listener. |
Methods
| RemoveAttribute(string) | Remove an attribute from the listener. |
| SetAttribute(string, string?) | Set a non-standard attribute on the listener. |
| ValidateListener() | Validate this listener. |
Constructors
BaseListener(Construct, string, object)
Base class for listeners.
protected BaseListener(Construct scope, string id, object additionalProps)
Parameters
Properties
ListenerArn
ARN of the listener.
public virtual string ListenerArn { get; }
Property Value
Remarks
Attribute: true
Methods
RemoveAttribute(string)
Remove an attribute from the listener.
public virtual void RemoveAttribute(string key)
Parameters
- key string
SetAttribute(string, string?)
Set a non-standard attribute on the listener.
public virtual void SetAttribute(string key, string? value = null)
Parameters
Remarks
ValidateListener()
Implements
Constructs.IConstruct
Constructs.IDependable