GrpcHealthCheckOptions

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

Bases: object

(experimental) Properties used to define GRPC Based healthchecks.

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

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

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

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

Stability

experimental

Attributes

healthy_threshold

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

Default

2

Stability

experimental

Return type

Union[int, float, None]

interval

(experimental) The time period between each health check execution.

Default

Duration.seconds(5)

Stability

experimental

Return type

Optional[Duration]

timeout

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

Default

Duration.seconds(2)

Stability

experimental

Return type

Optional[Duration]

unhealthy_threshold

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

Default
  • 2

Stability

experimental

Return type

Union[int, float, None]