io.burkard.cdk.services.greengrassv2.cfnComponentVersion.LambdaContainerParamsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.greengrassv2.cfnComponentVersion
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LambdaContainerParamsProperty {
def apply(
volumes: Option[List[_]] = None,
devices: Option[List[_]] = None,
memorySizeInKb: Option[Number] = None,
mountRoSysfs: Option[Boolean] = None
): software.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty =
(new software.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty.Builder)
.volumes(volumes.map(_.asJava).orNull)
.devices(devices.map(_.asJava).orNull)
.memorySizeInKb(memorySizeInKb.orNull)
.mountRoSysfs(mountRoSysfs.map(Boolean.box).orNull)
.build()
}