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