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

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

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

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

  def apply(
    cluster: software.amazon.awscdk.services.ecs.ICluster,
    serviceName: Option[String] = None,
    serviceArn: Option[String] = None
  ): software.amazon.awscdk.services.ecs.ExternalServiceAttributes =
    (new software.amazon.awscdk.services.ecs.ExternalServiceAttributes.Builder)
      .cluster(cluster)
      .serviceName(serviceName.orNull)
      .serviceArn(serviceArn.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy