All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.lambda.LambdaRuntimeProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.lambda

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LambdaRuntimeProps {

  def apply(
    bundlingDockerImage: Option[String] = None,
    supportsCodeGuruProfiling: Option[Boolean] = None,
    supportsInlineCode: Option[Boolean] = None
  ): software.amazon.awscdk.services.lambda.LambdaRuntimeProps =
    (new software.amazon.awscdk.services.lambda.LambdaRuntimeProps.Builder)
      .bundlingDockerImage(bundlingDockerImage.orNull)
      .supportsCodeGuruProfiling(supportsCodeGuruProfiling.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
      .supportsInlineCode(supportsInlineCode.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy