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