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

io.burkard.cdk.services.ecs.AssociateCloudMapServiceOptions.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.ecs

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

  def apply(
    service: software.amazon.awscdk.services.servicediscovery.IService,
    container: Option[software.amazon.awscdk.services.ecs.ContainerDefinition] = None,
    containerPort: Option[Number] = None
  ): software.amazon.awscdk.services.ecs.AssociateCloudMapServiceOptions =
    (new software.amazon.awscdk.services.ecs.AssociateCloudMapServiceOptions.Builder)
      .service(service)
      .container(container.orNull)
      .containerPort(containerPort.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy