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