@Stability(value=Stable)
public static interface CfnVirtualNode.OutlierDetectionProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVirtualNode.OutlierDetectionProperty.Builder
A builder for
CfnVirtualNode.OutlierDetectionProperty |
static class |
CfnVirtualNode.OutlierDetectionProperty.Jsii$Proxy
An implementation for
CfnVirtualNode.OutlierDetectionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVirtualNode.OutlierDetectionProperty.Builder |
builder() |
Object |
getBaseEjectionDuration()
The base amount of time for which a host is ejected.
|
Object |
getInterval()
The time interval between ejection sweep analysis.
|
Number |
getMaxEjectionPercent()
Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.
|
Number |
getMaxServerErrors()
Number of consecutive `5xx` errors required for ejection.
|
@Stability(value=Stable) @NotNull Object getBaseEjectionDuration()
@Stability(value=Stable) @NotNull Object getInterval()
@Stability(value=Stable) @NotNull Number getMaxEjectionPercent()
Will eject at least one host regardless of the value.
@Stability(value=Stable) @NotNull Number getMaxServerErrors()
@Stability(value=Stable) static CfnVirtualNode.OutlierDetectionProperty.Builder builder()
Copyright © 2022. All rights reserved.