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

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

  def apply(
    internalResourceId: String,
    mesh: software.amazon.awscdk.services.appmesh.IMesh,
    virtualRouter: software.amazon.awscdk.services.appmesh.IVirtualRouter,
    routeName: Option[String] = None,
    routeSpec: Option[software.amazon.awscdk.services.appmesh.RouteSpec] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.appmesh.Route =
    software.amazon.awscdk.services.appmesh.Route.Builder
      .create(stackCtx, internalResourceId)
      .mesh(mesh)
      .virtualRouter(virtualRouter)
      .routeName(routeName.orNull)
      .routeSpec(routeSpec.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy