![JAR search and dependency download from the Maven repository](/logo.png)
io.burkard.cdk.CfnParameter.scala Maven / Gradle / Ivy
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 CfnParameter {
def apply(
internalResourceId: String,
noEcho: Option[Boolean] = None,
constraintDescription: Option[String] = None,
description: Option[String] = None,
allowedValues: Option[List[String]] = None,
minValue: Option[Number] = None,
minLength: Option[Number] = None,
maxValue: Option[Number] = None,
`type`: Option[String] = None,
defaultValue: Option[AnyRef] = None,
maxLength: Option[Number] = None,
allowedPattern: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.CfnParameter =
software.amazon.awscdk.CfnParameter.Builder
.create(stackCtx, internalResourceId)
.noEcho(noEcho.map(Boolean.box).orNull)
.constraintDescription(constraintDescription.orNull)
.description(description.orNull)
.allowedValues(allowedValues.map(_.asJava).orNull)
.minValue(minValue.orNull)
.minLength(minLength.orNull)
.maxValue(maxValue.orNull)
.`type`(`type`.orNull)
.defaultValue(defaultValue.orNull)
.maxLength(maxLength.orNull)
.allowedPattern(allowedPattern.orNull)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy