Interface IListenerProps
Construct properties for Listener.
Inherited Members
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IListenerProps : IListenerOptions
Syntax (vb)
Public Interface IListenerProps
Inherits IListenerOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GlobalAccelerator;
Accelerator accelerator;
var listenerProps = new ListenerProps {
Accelerator = accelerator,
PortRanges = new [] { new PortRange {
FromPort = 123,
// the properties below are optional
ToPort = 123
} },
// the properties below are optional
ClientAffinity = ClientAffinity.NONE,
ListenerName = "listenerName",
Protocol = ConnectionProtocol.TCP
};
Synopsis
Properties
Accelerator | The accelerator for this listener. |