io.burkard.cdk.services.config.CfnStoredQueryProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.config
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnStoredQueryProps {
def apply(
queryExpression: String,
queryName: String,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
queryDescription: Option[String] = None
): software.amazon.awscdk.services.config.CfnStoredQueryProps =
(new software.amazon.awscdk.services.config.CfnStoredQueryProps.Builder)
.queryExpression(queryExpression)
.queryName(queryName)
.tags(tags.map(_.asJava).orNull)
.queryDescription(queryDescription.orNull)
.build()
}