Interface INetworkListenerProps
Properties to define an network listener.
Namespace: Amazon.CDK.AWS.ECS.Patterns
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INetworkListenerProps
Syntax (vb)
Public Interface 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
Properties
Name | Name of the listener. |
Port | The port on which the listener listens for requests. |
Properties
Name
Name of the listener.
string Name { get; }
Property Value
System.String
Port
The port on which the listener listens for requests.
virtual Nullable<double> Port { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 80