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

io.burkard.cdk.services.ecs.cfnTaskSet.LoadBalancerProperty.scala Maven / Gradle / Ivy

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

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

  def apply(
    loadBalancerName: Option[String] = None,
    targetGroupArn: Option[String] = None,
    containerName: Option[String] = None,
    containerPort: Option[Number] = None
  ): software.amazon.awscdk.services.ecs.CfnTaskSet.LoadBalancerProperty =
    (new software.amazon.awscdk.services.ecs.CfnTaskSet.LoadBalancerProperty.Builder)
      .loadBalancerName(loadBalancerName.orNull)
      .targetGroupArn(targetGroupArn.orNull)
      .containerName(containerName.orNull)
      .containerPort(containerPort.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy