VirtualGatewayListener

class aws_cdk.aws_appmesh.VirtualGatewayListener

Bases: object

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

Stability

experimental

Stability

experimental

Methods

abstract bind(scope)

(experimental) Called when the GatewayListener type is initialized.

Can be used to enforce mutual exclusivity

Parameters

scope (Construct) –

Stability

experimental

Return type

VirtualGatewayListenerConfig

Static Methods

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

(experimental) Returns a GRPC Listener for a VirtualGateway.

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

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

  • tls_certificate (Optional[TlsCertificate]) – (experimental) Represents the listener certificate. Default: - none

Stability

experimental

Return type

VirtualGatewayListener

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

(experimental) Returns an HTTP Listener for a VirtualGateway.

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

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

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

Stability

experimental

Return type

VirtualGatewayListener

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

(experimental) Returns an HTTP2 Listener for a VirtualGateway.

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

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

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

Stability

experimental

Return type

VirtualGatewayListener