io.burkard.cdk.GetContextKeyOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object GetContextKeyOptions {
def apply(
provider: String,
props: Option[Map[String, _]] = None,
includeEnvironment: Option[Boolean] = None
): software.amazon.awscdk.GetContextKeyOptions =
(new software.amazon.awscdk.GetContextKeyOptions.Builder)
.provider(provider)
.props(props.map(_.asJava).orNull)
.includeEnvironment(includeEnvironment.map(Boolean.box).orNull)
.build()
}