class Aws::AppMesh::Types::OutlierDetection

An object that represents the outlier detection for a virtual node's listener.

@note When making an API call, you may pass OutlierDetection

data as a hash:

    {
      base_ejection_duration: { # required
        unit: "s", # accepts s, ms
        value: 1,
      },
      interval: { # required
        unit: "s", # accepts s, ms
        value: 1,
      },
      max_ejection_percent: 1, # required
      max_server_errors: 1, # required
    }

@!attribute [rw] base_ejection_duration

The base amount of time for which a host is ejected.
@return [Types::Duration]

@!attribute [rw] interval

The time interval between ejection sweep analysis.
@return [Types::Duration]

@!attribute [rw] 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 [Integer]

@!attribute [rw] max_server_errors

Number of consecutive `5xx` errors required for ejection.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/OutlierDetection AWS API Documentation

Constants

SENSITIVE