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();
 
  • Method Details

    • getBaseEjectionDuration

      @Stability(Stable) @NotNull Object getBaseEjectionDuration()
      The base amount of time for which a host is ejected.
    • getInterval

      @Stability(Stable) @NotNull Object getInterval()
      The time interval between ejection sweep analysis.
    • getMaxEjectionPercent

      @Stability(Stable) @NotNull Number 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

      @Stability(Stable) @NotNull Number getMaxServerErrors()
      Number of consecutive 5xx errors required for ejection.
    • builder

      @Stability(Stable) static CfnVirtualNode.OutlierDetectionProperty.Builder builder()
      Returns:
      a CfnVirtualNode.OutlierDetectionProperty.Builder of CfnVirtualNode.OutlierDetectionProperty