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

io.burkard.cdk.services.appmesh.HealthCheckConfig.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 HealthCheckConfig {

  def apply(
    virtualGatewayHealthCheck: Option[software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty] = None,
    virtualNodeHealthCheck: Option[software.amazon.awscdk.services.appmesh.CfnVirtualNode.HealthCheckProperty] = None
  ): software.amazon.awscdk.services.appmesh.HealthCheckConfig =
    (new software.amazon.awscdk.services.appmesh.HealthCheckConfig.Builder)
      .virtualGatewayHealthCheck(virtualGatewayHealthCheck.orNull)
      .virtualNodeHealthCheck(virtualNodeHealthCheck.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy