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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualNode.OutlierDetectionPropertystatic final classAn 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 consecutive5xxerrors 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. -
getInterval
The time interval between ejection sweep analysis. -
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.
-
getMaxServerErrors
Number of consecutive5xxerrors required for ejection. -
builder
-