All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.appmesh.OutlierDetection.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.appmesh

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object OutlierDetection {

  def apply(
    interval: software.amazon.awscdk.Duration,
    baseEjectionDuration: software.amazon.awscdk.Duration,
    maxEjectionPercent: Number,
    maxServerErrors: Number
  ): software.amazon.awscdk.services.appmesh.OutlierDetection =
    (new software.amazon.awscdk.services.appmesh.OutlierDetection.Builder)
      .interval(interval)
      .baseEjectionDuration(baseEjectionDuration)
      .maxEjectionPercent(maxEjectionPercent)
      .maxServerErrors(maxServerErrors)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy