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