Interface NetworkListenerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NetworkListenerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:57.166Z")
@Stability(Stable)
public interface NetworkListenerProps
extends software.amazon.jsii.JsiiSerializable
Properties to define an network listener.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.patterns.*; NetworkListenerProps networkListenerProps = NetworkListenerProps.builder() .name("name") // the properties below are optional .port(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNetworkListenerProps
static final class
An implementation forNetworkListenerProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
Name of the listener. -
getPort
The port on which the listener listens for requests.Default: 80
-
builder
- Returns:
- a
NetworkListenerProps.Builder
ofNetworkListenerProps
-