Class: Aws::AppMesh::Types::OutlierDetection
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::OutlierDetection
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
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
}
An object that represents the outlier detection for a virtual node's listener.
Constant Summary collapse
- SENSITIVE =
[]
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.
5920 5921 5922 5923 5924 5925 5926 5927 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5920 class OutlierDetection < Struct.new( :base_ejection_duration, :interval, :max_ejection_percent, :max_server_errors) SENSITIVE = [] include Aws::Structure end |
#interval ⇒ Types::Duration
The time interval between ejection sweep analysis.
5920 5921 5922 5923 5924 5925 5926 5927 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5920 class OutlierDetection < Struct.new( :base_ejection_duration, :interval, :max_ejection_percent, :max_server_errors) SENSITIVE = [] include Aws::Structure end |
#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.
5920 5921 5922 5923 5924 5925 5926 5927 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5920 class OutlierDetection < Struct.new( :base_ejection_duration, :interval, :max_ejection_percent, :max_server_errors) SENSITIVE = [] include Aws::Structure end |
#max_server_errors ⇒ Integer
Number of consecutive 5xx
errors required for ejection.
5920 5921 5922 5923 5924 5925 5926 5927 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5920 class OutlierDetection < Struct.new( :base_ejection_duration, :interval, :max_ejection_percent, :max_server_errors) SENSITIVE = [] include Aws::Structure end |