Class VirtualRouterListener
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appmesh.VirtualRouterListener
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:38.721Z")
@Stability(Stable)
public abstract class VirtualRouterListener
extends software.amazon.jsii.JsiiObject
Represents the properties needed to define listeners for a VirtualRouter.
Example:
Mesh mesh; VirtualRouter router = mesh.addVirtualRouter("router", VirtualRouterBaseProps.builder() .listeners(List.of(VirtualRouterListener.http(8080))) .build());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
VirtualRouterListener
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
VirtualRouterListener
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionabstract VirtualRouterListenerConfig
bind
(software.constructs.Construct scope) Called when the VirtualRouterListener type is initialized.static VirtualRouterListener
grpc()
Returns a GRPC Listener for a VirtualRouter.static VirtualRouterListener
Returns a GRPC Listener for a VirtualRouter.static VirtualRouterListener
http()
Returns an HTTP Listener for a VirtualRouter.static VirtualRouterListener
Returns an HTTP Listener for a VirtualRouter.static VirtualRouterListener
http2()
Returns an HTTP2 Listener for a VirtualRouter.static VirtualRouterListener
Returns an HTTP2 Listener for a VirtualRouter.static VirtualRouterListener
tcp()
Returns a TCP Listener for a VirtualRouter.static VirtualRouterListener
Returns a TCP Listener for a VirtualRouter.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
VirtualRouterListener
protected VirtualRouterListener(software.amazon.jsii.JsiiObjectRef objRef) -
VirtualRouterListener
protected VirtualRouterListener(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
VirtualRouterListener
@Stability(Stable) protected VirtualRouterListener()
-
-
Method Details
-
grpc
Returns a GRPC Listener for a VirtualRouter.- Parameters:
port
- the optional port of the listener, 8080 by default.
-
grpc
Returns a GRPC Listener for a VirtualRouter. -
http
Returns an HTTP Listener for a VirtualRouter.- Parameters:
port
- the optional port of the listener, 8080 by default.
-
http
Returns an HTTP Listener for a VirtualRouter. -
http2
Returns an HTTP2 Listener for a VirtualRouter.- Parameters:
port
- the optional port of the listener, 8080 by default.
-
http2
Returns an HTTP2 Listener for a VirtualRouter. -
tcp
Returns a TCP Listener for a VirtualRouter.- Parameters:
port
- the optional port of the listener, 8080 by default.
-
tcp
Returns a TCP Listener for a VirtualRouter. -
bind
@Stability(Stable) @NotNull public abstract VirtualRouterListenerConfig bind(@NotNull software.constructs.Construct scope) Called when the VirtualRouterListener type is initialized.Can be used to enforce mutual exclusivity
- Parameters:
scope
- This parameter is required.
-