io.burkard.cdk.services.ecs.cfnTaskDefinition.VolumeProperty.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 VolumeProperty {
def apply(
name: Option[String] = None,
host: Option[software.amazon.awscdk.services.ecs.CfnTaskDefinition.HostVolumePropertiesProperty] = None,
dockerVolumeConfiguration: Option[software.amazon.awscdk.services.ecs.CfnTaskDefinition.DockerVolumeConfigurationProperty] = None,
efsVolumeConfiguration: Option[software.amazon.awscdk.services.ecs.CfnTaskDefinition.EFSVolumeConfigurationProperty] = None
): software.amazon.awscdk.services.ecs.CfnTaskDefinition.VolumeProperty =
(new software.amazon.awscdk.services.ecs.CfnTaskDefinition.VolumeProperty.Builder)
.name(name.orNull)
.host(host.orNull)
.dockerVolumeConfiguration(dockerVolumeConfiguration.orNull)
.efsVolumeConfiguration(efsVolumeConfiguration.orNull)
.build()
}