GrpcHealthCheckOptions

class aws_cdk.aws_appmesh.GrpcHealthCheckOptions(*, healthy_threshold=None, interval=None, timeout=None, unhealthy_threshold=None)

Bases: object

Properties used to define GRPC Based healthchecks.

Parameters
  • healthy_threshold (Union[int, float, None]) – The number of consecutive successful health checks that must occur before declaring listener healthy. Default: 2

  • interval (Optional[Duration]) – The time period between each health check execution. Default: Duration.seconds(5)

  • timeout (Optional[Duration]) – The amount of time to wait when receiving a response from the health check. Default: Duration.seconds(2)

  • unhealthy_threshold (Union[int, float, None]) – The number of consecutive failed health checks that must occur before declaring a listener unhealthy. Default: - 2

Attributes

healthy_threshold

The number of consecutive successful health checks that must occur before declaring listener healthy.

Default

2

Return type

Union[int, float, None]

interval

The time period between each health check execution.

Default

Duration.seconds(5)

Return type

Optional[Duration]

timeout

The amount of time to wait when receiving a response from the health check.

Default

Duration.seconds(2)

Return type

Optional[Duration]

unhealthy_threshold

The number of consecutive failed health checks that must occur before declaring a listener unhealthy.

Default
  • 2

Return type

Union[int, float, None]