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