VirtualGatewayListener

class aws_cdk.aws_appmesh.VirtualGatewayListener

Bases: object

Represents the properties needed to define listeners for a VirtualGateway.

Methods

abstract bind(scope)

Called when the GatewayListener type is initialized.

Can be used to enforce mutual exclusivity

Parameters

scope (Construct) –

Return type

VirtualGatewayListenerConfig

Static Methods

classmethod grpc(*, connection_pool=None, health_check=None, port=None, tls=None)

Returns a GRPC Listener for a VirtualGateway.

Parameters
  • connection_pool (Optional[GrpcConnectionPool]) – Connection pool for http listeners. Default: - None

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

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

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

Return type

VirtualGatewayListener

classmethod http(*, connection_pool=None, health_check=None, port=None, tls=None)

Returns an HTTP Listener for a VirtualGateway.

Parameters
  • connection_pool (Optional[HttpConnectionPool]) – Connection pool for http listeners. Default: - None

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

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

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

Return type

VirtualGatewayListener

classmethod http2(*, connection_pool=None, health_check=None, port=None, tls=None)

Returns an HTTP2 Listener for a VirtualGateway.

Parameters
  • connection_pool (Optional[Http2ConnectionPool]) – Connection pool for http listeners. Default: - None

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

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

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

Return type

VirtualGatewayListener