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