io.burkard.cdk.services.ecs.cfnTaskDefinition.VolumeFromProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ecs.cfnTaskDefinition
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object VolumeFromProperty {
def apply(
readOnly: Option[Boolean] = None,
sourceContainer: Option[String] = None
): software.amazon.awscdk.services.ecs.CfnTaskDefinition.VolumeFromProperty =
(new software.amazon.awscdk.services.ecs.CfnTaskDefinition.VolumeFromProperty.Builder)
.readOnly(readOnly.map(Boolean.box).orNull)
.sourceContainer(sourceContainer.orNull)
.build()
}