All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.glue.EncryptionConfigurationProperty.scala Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package io.burkard.cdk.services.glue

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EncryptionConfigurationProperty {

  def apply(
    s3Encryptions: Option[List[_]] = None,
    cloudWatchEncryption: Option[software.amazon.awscdk.services.glue.CfnSecurityConfiguration.CloudWatchEncryptionProperty] = None,
    jobBookmarksEncryption: Option[software.amazon.awscdk.services.glue.CfnSecurityConfiguration.JobBookmarksEncryptionProperty] = None
  ): software.amazon.awscdk.services.glue.CfnSecurityConfiguration.EncryptionConfigurationProperty =
    (new software.amazon.awscdk.services.glue.CfnSecurityConfiguration.EncryptionConfigurationProperty.Builder)
      .s3Encryptions(s3Encryptions.map(_.asJava).orNull)
      .cloudWatchEncryption(cloudWatchEncryption.orNull)
      .jobBookmarksEncryption(jobBookmarksEncryption.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy