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

io.burkard.cdk.services.servicediscovery.RoutingPolicy.scala Maven / Gradle / Ivy

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

sealed abstract class RoutingPolicy(val underlying: software.amazon.awscdk.services.servicediscovery.RoutingPolicy)
  extends Product
    with Serializable

object RoutingPolicy {
  implicit def toAws(value: RoutingPolicy): software.amazon.awscdk.services.servicediscovery.RoutingPolicy =
    Option(value).map(_.underlying).orNull

  case object Weighted
    extends RoutingPolicy(software.amazon.awscdk.services.servicediscovery.RoutingPolicy.WEIGHTED)

  case object Multivalue
    extends RoutingPolicy(software.amazon.awscdk.services.servicediscovery.RoutingPolicy.MULTIVALUE)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy