io.burkard.cdk.services.ecs.ContainerDependency.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 ContainerDependency {
def apply(
container: software.amazon.awscdk.services.ecs.ContainerDefinition,
condition: Option[software.amazon.awscdk.services.ecs.ContainerDependencyCondition] = None
): software.amazon.awscdk.services.ecs.ContainerDependency =
(new software.amazon.awscdk.services.ecs.ContainerDependency.Builder)
.container(container)
.condition(condition.orNull)
.build()
}