OutlierDetection

class aws_cdk.aws_appmesh.OutlierDetection(*, base_ejection_duration, interval, max_ejection_percent, max_server_errors)

Bases: object

Represents the outlier detection for a listener.

Parameters
  • base_ejection_duration (Duration) – The base amount of time for which a host is ejected.

  • interval (Duration) – The time interval between ejection sweep analysis.

  • max_ejection_percent (Union[int, float]) – Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. Will eject at least one host regardless of the value.

  • max_server_errors (Union[int, float]) – Number of consecutive 5xx errors required for ejection.

Attributes

base_ejection_duration

The base amount of time for which a host is ejected.

Return type

Duration

interval

The time interval between ejection sweep analysis.

Return type

Duration

max_ejection_percent

Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.

Will eject at least one host regardless of the value.

Return type

Union[int, float]

max_server_errors

Number of consecutive 5xx errors required for ejection.

Return type

Union[int, float]