Class NetworkListenerProps
Properties to define an network listener.
Inheritance
System.Object
NetworkListenerProps
Implements
Namespace: Amazon.CDK.AWS.ECS.Patterns
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NetworkListenerProps : Object, INetworkListenerProps
Syntax (vb)
Public Class NetworkListenerProps
Inherits Object
Implements INetworkListenerProps
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.ECS.Patterns;
var networkListenerProps = new NetworkListenerProps {
Name = "name",
// the properties below are optional
Port = 123
};
Synopsis
Constructors
NetworkListenerProps() |
Properties
Name | Name of the listener. |
Port | The port on which the listener listens for requests. |
Constructors
NetworkListenerProps()
public NetworkListenerProps()
Properties
Name
Name of the listener.
public string Name { get; set; }
Property Value
System.String
Port
The port on which the listener listens for requests.
public Nullable<double> Port { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 80