Interface CfnVirtualNode.OutlierDetectionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.OutlierDetectionProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.OutlierDetectionProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the outlier detection for a virtual node's listener.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appmesh.*; OutlierDetectionProperty outlierDetectionProperty = OutlierDetectionProperty.builder() .baseEjectionDuration(DurationProperty.builder() .unit("unit") .value(123) .build()) .interval(DurationProperty.builder() .unit("unit") .value(123) .build()) .maxEjectionPercent(123) .maxServerErrors(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVirtualNode.OutlierDetectionProperty
static final class
An implementation forCfnVirtualNode.OutlierDetectionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The base amount of time for which a host is ejected.The time interval between ejection sweep analysis.Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.Number of consecutive5xx
errors required for ejection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBaseEjectionDuration
The base amount of time for which a host is ejected.- See Also:
-
getInterval
The time interval between ejection sweep analysis.- See Also:
-
getMaxEjectionPercent
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.
- See Also:
-
getMaxServerErrors
Number of consecutive5xx
errors required for ejection.- See Also:
-
builder
-