io.burkard.cdk.services.servicediscovery.HealthCheckCustomConfig.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.servicediscovery
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object HealthCheckCustomConfig {
def apply(
failureThreshold: Option[Number] = None
): software.amazon.awscdk.services.servicediscovery.HealthCheckCustomConfig =
(new software.amazon.awscdk.services.servicediscovery.HealthCheckCustomConfig.Builder)
.failureThreshold(failureThreshold.orNull)
.build()
}