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

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#base_ejection_durationTypes::Duration

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

Returns:


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

#intervalTypes::Duration

The time interval between ejection sweep analysis.

Returns:


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_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)

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_errorsInteger

Number of consecutive 5xx errors required for ejection.

Returns:

  • (Integer)

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