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
- Struct
- Aws::AppMesh::Types::OutlierDetection
- Defined in:
- (unknown)
Overview
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
-
#base_ejection_duration ⇒ Types::Duration
The base amount of time for which a host is ejected.
-
#interval ⇒ Types::Duration
The time interval between ejection sweep analysis.
-
#max_ejection_percent ⇒ Integer
Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.
-
#max_server_errors ⇒ Integer
Number of consecutive
5xx
errors required for ejection.
Instance Attribute Details
#base_ejection_duration ⇒ Types::Duration
The base amount of time for which a host is ejected.
#interval ⇒ Types::Duration
The time interval between ejection sweep analysis.
#max_ejection_percent ⇒ Integer
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 ⇒ Integer
Number of consecutive 5xx
errors required for ejection.