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

io.burkard.cdk.CfnCondition.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk

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

  def apply(
    internalResourceId: String,
    expression: Option[software.amazon.awscdk.ICfnConditionExpression] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.CfnCondition =
    software.amazon.awscdk.CfnCondition.Builder
      .create(stackCtx, internalResourceId)
      .expression(expression.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy