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

io.burkard.cdk.services.appmesh.cfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.appmesh.cfnVirtualGateway

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

  def apply(
    intervalMillis: Number,
    timeoutMillis: Number,
    healthyThreshold: Number,
    unhealthyThreshold: Number,
    protocol: String,
    path: Option[String] = None,
    port: Option[Number] = None
  ): software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty =
    (new software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder)
      .intervalMillis(intervalMillis)
      .timeoutMillis(timeoutMillis)
      .healthyThreshold(healthyThreshold)
      .unhealthyThreshold(unhealthyThreshold)
      .protocol(protocol)
      .path(path.orNull)
      .port(port.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy