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