io.burkard.cdk.services.s3.cfnBucket.TopicConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.s3.cfnBucket
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object TopicConfigurationProperty {
def apply(
event: String,
topic: String,
filter: Option[software.amazon.awscdk.services.s3.CfnBucket.NotificationFilterProperty] = None
): software.amazon.awscdk.services.s3.CfnBucket.TopicConfigurationProperty =
(new software.amazon.awscdk.services.s3.CfnBucket.TopicConfigurationProperty.Builder)
.event(event)
.topic(topic)
.filter(filter.orNull)
.build()
}