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

io.burkard.cdk.services.ecs.patterns.NetworkTargetProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.ecs.patterns

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

  def apply(
    containerPort: Number,
    listener: Option[String] = None
  ): software.amazon.awscdk.services.ecs.patterns.NetworkTargetProps =
    (new software.amazon.awscdk.services.ecs.patterns.NetworkTargetProps.Builder)
      .containerPort(containerPort)
      .listener(listener.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy