Show / Hide Table of Contents

Class BaseListener

Base class for listeners.

Inheritance
object
Resource
BaseListener
ApplicationListener
NetworkListener
Implements
IListener
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
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
scope Construct
id string
additionalProps object

Properties

ListenerArn

ARN of the listener.

public virtual string ListenerArn { get; }
Property Value

string

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
key string
value string
Remarks

See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-listenerattribute.html

ValidateListener()

Validate this listener.

protected virtual string[] ValidateListener()
Returns

string[]

Implements

IListener
IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX