io.burkard.cdk.services.ecs.cfnTaskDefinition.DeviceProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ecs.cfnTaskDefinition
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DeviceProperty {
def apply(
permissions: Option[List[String]] = None,
containerPath: Option[String] = None,
hostPath: Option[String] = None
): software.amazon.awscdk.services.ecs.CfnTaskDefinition.DeviceProperty =
(new software.amazon.awscdk.services.ecs.CfnTaskDefinition.DeviceProperty.Builder)
.permissions(permissions.map(_.asJava).orNull)
.containerPath(containerPath.orNull)
.hostPath(hostPath.orNull)
.build()
}