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