io.burkard.cdk.services.opensearchservice.EncryptionAtRestOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.opensearchservice
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EncryptionAtRestOptions {
def apply(
enabled: Option[Boolean] = None,
kmsKey: Option[software.amazon.awscdk.services.kms.IKey] = None
): software.amazon.awscdk.services.opensearchservice.EncryptionAtRestOptions =
(new software.amazon.awscdk.services.opensearchservice.EncryptionAtRestOptions.Builder)
.enabled(enabled.map(Boolean.box).orNull)
.kmsKey(kmsKey.orNull)
.build()
}