VirtualNodeListener

class aws_cdk.aws_appmesh.VirtualNodeListener

Bases: object

(experimental) Defines listener for a VirtualNode.

Stability

experimental

Stability

experimental

Methods

abstract bind(scope)

(experimental) Binds the current object when adding Listener to a VirtualNode.

Parameters

scope (Construct) –

Stability

experimental

Return type

VirtualNodeListenerConfig

Static Methods

classmethod grpc(*, health_check=None, outlier_detection=None, port=None, timeout=None, tls_certificate=None)

(experimental) Returns an GRPC Listener for a VirtualNode.

Parameters
  • health_check (Optional[HealthCheck]) – (experimental) The health check information for the listener. Default: - no healthcheck

  • outlier_detection (Optional[OutlierDetection]) – (experimental) Represents the configuration for enabling outlier detection. Default: - none

  • port (Union[int, float, None]) – (experimental) Port to listen for connections on. Default: - 8080

  • timeout (Optional[GrpcTimeout]) – (experimental) Timeout for GRPC protocol. Default: - None

  • tls_certificate (Optional[TlsCertificate]) – (experimental) Represents the configuration for enabling TLS on a listener. Default: - none

Stability

experimental

Return type

VirtualNodeListener

classmethod http(*, health_check=None, outlier_detection=None, port=None, timeout=None, tls_certificate=None)

(experimental) Returns an HTTP Listener for a VirtualNode.

Parameters
  • health_check (Optional[HealthCheck]) – (experimental) The health check information for the listener. Default: - no healthcheck

  • outlier_detection (Optional[OutlierDetection]) – (experimental) Represents the configuration for enabling outlier detection. Default: - none

  • port (Union[int, float, None]) – (experimental) Port to listen for connections on. Default: - 8080

  • timeout (Optional[HttpTimeout]) – (experimental) Timeout for HTTP protocol. Default: - None

  • tls_certificate (Optional[TlsCertificate]) – (experimental) Represents the configuration for enabling TLS on a listener. Default: - none

Stability

experimental

Return type

VirtualNodeListener

classmethod http2(*, health_check=None, outlier_detection=None, port=None, timeout=None, tls_certificate=None)

(experimental) Returns an HTTP2 Listener for a VirtualNode.

Parameters
  • health_check (Optional[HealthCheck]) – (experimental) The health check information for the listener. Default: - no healthcheck

  • outlier_detection (Optional[OutlierDetection]) – (experimental) Represents the configuration for enabling outlier detection. Default: - none

  • port (Union[int, float, None]) – (experimental) Port to listen for connections on. Default: - 8080

  • timeout (Optional[HttpTimeout]) – (experimental) Timeout for HTTP protocol. Default: - None

  • tls_certificate (Optional[TlsCertificate]) – (experimental) Represents the configuration for enabling TLS on a listener. Default: - none

Stability

experimental

Return type

VirtualNodeListener

classmethod tcp(*, health_check=None, outlier_detection=None, port=None, timeout=None, tls_certificate=None)

(experimental) Returns an TCP Listener for a VirtualNode.

Parameters
  • health_check (Optional[HealthCheck]) – (experimental) The health check information for the listener. Default: - no healthcheck

  • outlier_detection (Optional[OutlierDetection]) – (experimental) Represents the configuration for enabling outlier detection. Default: - none

  • port (Union[int, float, None]) – (experimental) Port to listen for connections on. Default: - 8080

  • timeout (Optional[TcpTimeout]) – (experimental) Timeout for TCP protocol. Default: - None

  • tls_certificate (Optional[TlsCertificate]) – (experimental) Represents the configuration for enabling TLS on a listener. Default: - none

Stability

experimental

Return type

VirtualNodeListener