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