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

io.burkard.cdk.cloudformation.include.CfnIncludeProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.cloudformation.include

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnIncludeProps {

  def apply(
    templateFile: String,
    parameters: Option[Map[String, _]] = None,
    preserveLogicalIds: Option[Boolean] = None,
    loadNestedStacks: Option[Map[String, _ <: software.amazon.awscdk.cloudformation.include.CfnIncludeProps]] = None
  ): software.amazon.awscdk.cloudformation.include.CfnIncludeProps =
    (new software.amazon.awscdk.cloudformation.include.CfnIncludeProps.Builder)
      .templateFile(templateFile)
      .parameters(parameters.map(_.asJava).orNull)
      .preserveLogicalIds(preserveLogicalIds.map(Boolean.box).orNull)
      .loadNestedStacks(loadNestedStacks.map(_.asJava).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy