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

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

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

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AppMeshProxyConfigurationProps {

  def apply(
    proxyEgressPort: Number,
    appPorts: List[_ <: Number],
    proxyIngressPort: Number,
    ignoredGid: Option[Number] = None,
    egressIgnoredPorts: Option[List[_ <: Number]] = None,
    egressIgnoredIPs: Option[List[String]] = None,
    ignoredUid: Option[Number] = None
  ): software.amazon.awscdk.services.ecs.AppMeshProxyConfigurationProps =
    (new software.amazon.awscdk.services.ecs.AppMeshProxyConfigurationProps.Builder)
      .proxyEgressPort(proxyEgressPort)
      .appPorts(appPorts.asJava)
      .proxyIngressPort(proxyIngressPort)
      .ignoredGid(ignoredGid.orNull)
      .egressIgnoredPorts(egressIgnoredPorts.map(_.asJava).orNull)
      .egressIgnoredIPs(egressIgnoredIPs.map(_.asJava).orNull)
      .ignoredUid(ignoredUid.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy