io.burkard.cdk.services.lambda.CodeConfig.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 CodeConfig {
def apply(
image: Option[software.amazon.awscdk.services.lambda.CodeImageConfig] = None,
inlineCode: Option[String] = None,
s3Location: Option[software.amazon.awscdk.services.s3.Location] = None
): software.amazon.awscdk.services.lambda.CodeConfig =
(new software.amazon.awscdk.services.lambda.CodeConfig.Builder)
.image(image.orNull)
.inlineCode(inlineCode.orNull)
.s3Location(s3Location.orNull)
.build()
}