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

io.burkard.cdk.services.cloudfront.FunctionProps.scala Maven / Gradle / Ivy

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

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

  def apply(
    code: software.amazon.awscdk.services.cloudfront.FunctionCode,
    comment: Option[String] = None,
    functionName: Option[String] = None
  ): software.amazon.awscdk.services.cloudfront.FunctionProps =
    (new software.amazon.awscdk.services.cloudfront.FunctionProps.Builder)
      .code(code)
      .comment(comment.orNull)
      .functionName(functionName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy