You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AppMesh::Types::OutlierDetection

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing OutlierDetection as input to an Aws::Client method, you can use a vanilla 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
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#base_ejection_durationTypes::Duration

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

Returns:

  • (Types::Duration)

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

#intervalTypes::Duration

The time interval between ejection sweep analysis.

Returns:

#max_ejection_percentInteger

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.

Returns:

  • (Integer)

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

#max_server_errorsInteger

Number of consecutive 5xx errors required for ejection.

Returns:

  • (Integer)

    Number of consecutive 5xx errors required for ejection.