Interface CfnVirtualNodePropsMixin.OutlierDetectionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNodePropsMixin.OutlierDetectionProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNodePropsMixin
@Stability(Stable)
public static interface CfnVirtualNodePropsMixin.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.cfnpropertymixins.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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualNodePropsMixin.OutlierDetectionPropertystatic final classAn implementation forCfnVirtualNodePropsMixin.OutlierDetectionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe base amount of time for which a host is ejected.default ObjectThe time interval between ejection sweep analysis.default NumberMaximum percentage of hosts in load balancing pool for upstream service that can be ejected.default NumberNumber 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.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.DurationProperty- See Also:
-
getInterval
The time interval between ejection sweep analysis.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.DurationProperty- 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 consecutive5xxerrors required for ejection.- See Also:
-
builder
-