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

io.burkard.cdk.services.apprunner.cfnService.HealthCheckConfigurationProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.apprunner.cfnService

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

  def apply(
    path: Option[String] = None,
    healthyThreshold: Option[Number] = None,
    unhealthyThreshold: Option[Number] = None,
    interval: Option[Number] = None,
    timeout: Option[Number] = None,
    protocol: Option[String] = None
  ): software.amazon.awscdk.services.apprunner.CfnService.HealthCheckConfigurationProperty =
    (new software.amazon.awscdk.services.apprunner.CfnService.HealthCheckConfigurationProperty.Builder)
      .path(path.orNull)
      .healthyThreshold(healthyThreshold.orNull)
      .unhealthyThreshold(unhealthyThreshold.orNull)
      .interval(interval.orNull)
      .timeout(timeout.orNull)
      .protocol(protocol.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy