io.burkard.cdk.services.ecs.FargateServiceAttributes.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 FargateServiceAttributes {
def apply(
cluster: software.amazon.awscdk.services.ecs.ICluster,
serviceName: Option[String] = None,
serviceArn: Option[String] = None
): software.amazon.awscdk.services.ecs.FargateServiceAttributes =
(new software.amazon.awscdk.services.ecs.FargateServiceAttributes.Builder)
.cluster(cluster)
.serviceName(serviceName.orNull)
.serviceArn(serviceArn.orNull)
.build()
}