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