VirtualRouterListener

class aws_cdk.aws_appmesh.VirtualRouterListener

Bases: object

(experimental) Represents the properties needed to define listeners for a VirtualRouter.

Stability

experimental

Stability

experimental

Methods

abstract bind(scope)

(experimental) Called when the VirtualRouterListener type is initialized.

Can be used to enforce mutual exclusivity

Parameters

scope (Construct) –

Stability

experimental

Return type

VirtualRouterListenerConfig

Static Methods

classmethod grpc(port=None)

(experimental) Returns a GRPC Listener for a VirtualRouter.

Parameters

port (Union[int, float, None]) – the optional port of the listener, 8080 by default.

Stability

experimental

Return type

VirtualRouterListener

classmethod http(port=None)

(experimental) Returns an HTTP Listener for a VirtualRouter.

Parameters

port (Union[int, float, None]) – the optional port of the listener, 8080 by default.

Stability

experimental

Return type

VirtualRouterListener

classmethod http2(port=None)

(experimental) Returns an HTTP2 Listener for a VirtualRouter.

Parameters

port (Union[int, float, None]) – the optional port of the listener, 8080 by default.

Stability

experimental

Return type

VirtualRouterListener

classmethod tcp(port=None)

(experimental) Returns a TCP Listener for a VirtualRouter.

Parameters

port (Union[int, float, None]) – the optional port of the listener, 8080 by default.

Stability

experimental

Return type

VirtualRouterListener