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