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